Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 105.1 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 199.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9166/0.9166, allocations: 145.2 MB / 447.9 MB, free: 6.332 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 67.45 kB / 0.6204 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.2006, allocations: 86.63 MB / 0.705 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.005484/0.206, allocations: 3.733 MB / 0.7087 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003027/0.2091, allocations: 1.332 MB / 0.71 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.2095, allocations: 23.88 kB / 0.71 GB, free: 5.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.2098, allocations: 130.6 kB / 0.7101 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.2104, allocations: 186.5 kB / 0.7103 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.2116, allocations: 0.5679 MB / 0.7108 GB, free: 4.219 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.2127, allocations: 0.9603 MB / 0.7118 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004848/0.2131, allocations: 249.6 kB / 0.712 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004424/0.2136, allocations: 378.3 kB / 0.7124 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.214, allocations: 354.1 kB / 0.7127 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.2141, allocations: 76 kB / 0.7128 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.2142, allocations: 80 kB / 0.7129 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.2144, allocations: 183.3 kB / 0.713 GB, free: 1.945 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003309/0.2147, allocations: 377.7 kB / 0.7134 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009931/0.2157, allocations: 0.9217 MB / 0.7143 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.2157, allocations: 0 / 0.7143 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2157, allocations: 0 / 0.7143 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.769e-06/0.2157, allocations: 4 kB / 0.7143 GB, free: 0.6445 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00215/0.2178, allocations: 1.206 MB / 0.7155 GB, free: 15.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.2179, allocations: 12.03 kB / 0.7155 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.2181, allocations: 96.33 kB / 0.7156 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.2192, allocations: 0.6266 MB / 0.7162 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.2193, allocations: 96.95 kB / 0.7163 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.423e-05/0.2194, allocations: 52.38 kB / 0.7163 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/0.2205, allocations: 0.6041 MB / 0.7169 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2205, allocations: 4 kB / 0.7169 GB, free: 13.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.268e-05/0.2206, allocations: 20 kB / 0.7169 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.2206, allocations: 12 kB / 0.717 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009741/0.2216, allocations: 427.6 kB / 0.7174 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002841/0.2244, allocations: 2.11 MB / 0.7194 GB, free: 11.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.2256, allocations: 483.7 kB / 0.7199 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.2261, allocations: 207.3 kB / 0.7201 GB, free: 10.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.2262, allocations: 12.97 kB / 0.7201 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000659/0.2268, allocations: 285.9 kB / 0.7204 GB, free: 10.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=45): time 1.663e-06/0.2268, allocations: 4 kB / 0.7204 GB, free: 10.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=45): time 0.001471/0.2283, allocations: 0.6078 MB / 0.721 GB, free: 9.543 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.2284, allocations: 88.8 kB / 0.7211 GB, free: 9.438 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007418/0.2291, allocations: 0.6139 MB / 0.7217 GB, free: 8.816 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.924e-05/0.2291, allocations: 37.7 kB / 0.7217 GB, free: 8.773 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002994/0.2294, allocations: 357.3 kB / 0.722 GB, free: 8.418 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.2296, allocations: 166.6 kB / 0.7222 GB, free: 8.254 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.2297, allocations: 98.19 kB / 0.7223 GB, free: 8.152 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2299, allocations: 329.9 kB / 0.7226 GB, free: 7.824 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.2303, allocations: 183 kB / 0.7228 GB, free: 7.645 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005233/0.2309, allocations: 280.2 kB / 0.723 GB, free: 7.332 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009315/0.2318, allocations: 473.8 kB / 0.7235 GB, free: 6.832 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.2318, allocations: 7.938 kB / 0.7235 GB, free: 6.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001229/0.233, allocations: 0.6028 MB / 0.7241 GB, free: 6.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/0.2331, allocations: 37.7 kB / 0.7241 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/0.2331, allocations: 0 / 0.7241 GB, free: 6.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2331, allocations: 4 kB / 0.7241 GB, free: 6.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.2336, allocations: 111.8 kB / 0.7242 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.2336, allocations: 7.984 kB / 0.7242 GB, free: 6.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.2339, allocations: 59.61 kB / 0.7243 GB, free: 5.984 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.562e-05/0.234, allocations: 23.98 kB / 0.7243 GB, free: 5.961 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005536/0.2345, allocations: 309.2 kB / 0.7246 GB, free: 5.656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004657/0.235, allocations: 268.2 kB / 0.7249 GB, free: 5.359 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008455/0.2359, allocations: 450 kB / 0.7253 GB, free: 4.879 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.2359, allocations: 0 / 0.7253 GB, free: 4.879 MB / 0.545 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001129/0.237, allocations: 0.583 MB / 0.7259 GB, free: 4.281 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/0.237, allocations: 37.69 kB / 0.7259 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.237, allocations: 4 kB / 0.7259 GB, free: 4.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/0.237, allocations: 4.312 kB / 0.7259 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/0.2375, allocations: 103.8 kB / 0.726 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.2375, allocations: 4 kB / 0.726 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/0.2378, allocations: 55.7 kB / 0.7261 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.2378, allocations: 16 kB / 0.7261 GB, free: 4.055 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.238, allocations: 220 kB / 0.7263 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.2381, allocations: 75.48 kB / 0.7264 GB, free: 3.758 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001688/0.2383, allocations: 87.2 kB / 0.7265 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.2383, allocations: 4 kB / 0.7265 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.2383, allocations: 0 / 0.7265 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.2383, allocations: 3.938 kB / 0.7265 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007283/0.2391, allocations: 0.6258 MB / 0.7271 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.2391, allocations: 4 kB / 0.7271 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.2395, allocations: 79.89 kB / 0.7271 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2395, allocations: 0 / 0.7271 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.2395, allocations: 15.98 kB / 0.7272 GB, free: 2.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.2396, allocations: 8 kB / 0.7272 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.2396, allocations: 0 / 0.7272 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.2411, allocations: 0.7357 MB / 0.7279 GB, free: 2.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002372/0.2413, allocations: 196.5 kB / 0.7281 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.2414, allocations: 12 kB / 0.7281 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.2418, allocations: 35.95 kB / 0.7281 GB, free: 1.867 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.2419, allocations: 27.97 kB / 0.7281 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.2419, allocations: 19.98 kB / 0.7282 GB, free: 1.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005173/0.2425, allocations: 431 kB / 0.7286 GB, free: 1.402 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2425, allocations: 0 / 0.7286 GB, free: 1.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005991/0.2431, allocations: 219.5 kB / 0.7288 GB, free: 1.188 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001554/0.2432, allocations: 107.2 kB / 0.7289 GB, free: 1.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.2448, allocations: 0.7493 MB / 0.7296 GB, free: 308 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.2448, allocations: 5.062 kB / 0.7296 GB, free: 304 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.2453, allocations: 203.9 kB / 0.7298 GB, free: 100 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009098/0.2462, allocations: 208.2 kB / 0.73 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002189/0.2484, allocations: 1.201 MB / 0.7312 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000658/0.249, allocations: 0.918 MB / 0.7321 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004073/0.2495, allocations: 93.11 kB / 0.7322 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.2496, allocations: 43.44 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of SimCode: time 1.482e-06/0.2496, allocations: 4 kB / 0.7322 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of Templates: time 0.017/0.2666, allocations: 7.738 MB / 0.7398 GB, free: 5.945 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.148240468464792]