Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001582/0.001582, allocations: 219.2 kB / 23.01 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002515/0.002515, allocations: 284.1 kB / 313.5 MB, free: 2.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.198/1.198, allocations: 180.6 MB / 0.5377 GB, free: 12.9 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002868/0.002868, allocations: 105.7 kB / 0.7408 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1957, allocations: 95.39 MB / 0.8339 GB, free: 8.145 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005824/0.2015, allocations: 4.17 MB / 0.838 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.204, allocations: 1.371 MB / 0.8393 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003/0.2043, allocations: 27.81 kB / 0.8394 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.2046, allocations: 134.7 kB / 0.8395 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.205, allocations: 186.3 kB / 0.8397 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.2058, allocations: 431.9 kB / 0.8401 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009696/0.2068, allocations: 0.9554 MB / 0.841 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004955/0.2073, allocations: 306.6 kB / 0.8413 GB, free: 0.5273 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.2076, allocations: 342.7 kB / 0.8416 GB, free: 196 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003991/0.208, allocations: 346.3 kB / 0.842 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.2082, allocations: 88 kB / 0.8421 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.2083, allocations: 92 kB / 0.8421 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001507/0.2084, allocations: 179.4 kB / 0.8423 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.2087, allocations: 386.1 kB / 0.8427 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.2098, allocations: 1.066 MB / 0.8437 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2098, allocations: 4 kB / 0.8437 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2098, allocations: 0 / 0.8437 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.2098, allocations: 0 / 0.8437 GB, free: 14.05 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001836/0.2116, allocations: 1.076 MB / 0.8448 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.2117, allocations: 9.344 kB / 0.8448 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.2118, allocations: 92.38 kB / 0.8449 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009191/0.2127, allocations: 0.5038 MB / 0.8454 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.479e-05/0.2128, allocations: 49.69 kB / 0.8454 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.383e-05/0.2129, allocations: 60.38 kB / 0.8455 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.2139, allocations: 0.6079 MB / 0.8461 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.2139, allocations: 3.938 kB / 0.8461 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.214, allocations: 24 kB / 0.8461 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.214, allocations: 16 kB / 0.8461 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009673/0.215, allocations: 457 kB / 0.8465 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002808/0.2178, allocations: 1.947 MB / 0.8484 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008977/0.2187, allocations: 413.7 kB / 0.8488 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004437/0.2191, allocations: 226.1 kB / 0.8491 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.2192, allocations: 4.438 kB / 0.8491 GB, free: 8.418 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005355/0.2197, allocations: 265.2 kB / 0.8493 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/0.2197, allocations: 0 / 0.8493 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001286/0.221, allocations: 0.5892 MB / 0.8499 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.221, allocations: 55.84 kB / 0.8499 GB, free: 7.484 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005019/0.2215, allocations: 454 kB / 0.8504 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.2216, allocations: 33.7 kB / 0.8504 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.2218, allocations: 332.8 kB / 0.8507 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.222, allocations: 170.5 kB / 0.8509 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.2221, allocations: 102.3 kB / 0.851 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.2223, allocations: 370.7 kB / 0.8513 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.2227, allocations: 169.2 kB / 0.8515 GB, free: 5.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004362/0.2231, allocations: 246.7 kB / 0.8517 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008199/0.2239, allocations: 451 kB / 0.8522 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2239, allocations: 4 kB / 0.8522 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001044/0.225, allocations: 0.5612 MB / 0.8527 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.225, allocations: 33.89 kB / 0.8528 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.225, allocations: 8 kB / 0.8528 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2251, allocations: 4 kB / 0.8528 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.2255, allocations: 115.8 kB / 0.8529 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2255, allocations: 8 kB / 0.8529 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.2258, allocations: 55.64 kB / 0.8529 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.2259, allocations: 20 kB / 0.853 GB, free: 4.289 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (conWitRes.trigger.y,conNoRes.trigger.y,TSet.T_start,$PRE.TSet.T_start,TSet.count,$PRE.TSet.count,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002593/0.2261, allocations: 214.4 kB / 0.8532 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.2262, allocations: 63.56 kB / 0.8532 GB, free: 4.008 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.2264, allocations: 61.59 kB / 0.8533 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2264, allocations: 4 kB / 0.8533 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.2264, allocations: 0 / 0.8533 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.2264, allocations: 3.984 kB / 0.8533 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/0.2282, allocations: 1.15 MB / 0.8544 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2282, allocations: 0 / 0.8544 GB, free: 2.734 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/0.2287, allocations: 91.88 kB / 0.8545 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.2287, allocations: 4 kB / 0.8545 GB, free: 2.641 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.2288, allocations: 12 kB / 0.8545 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.2288, allocations: 0 / 0.8545 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.2288, allocations: 4 kB / 0.8545 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.2302, allocations: 0.7729 MB / 0.8553 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.2304, allocations: 87.62 kB / 0.8554 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.964e-05/0.2304, allocations: 8 kB / 0.8554 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.2307, allocations: 27.97 kB / 0.8554 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2308, allocations: 40.36 kB / 0.8554 GB, free: 1.684 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.728e-05/0.2308, allocations: 12 kB / 0.8554 GB, free: 1.672 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003591/0.2312, allocations: 310.8 kB / 0.8557 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.2312, allocations: 0 / 0.8557 GB, free: 1.371 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004363/0.2316, allocations: 147.6 kB / 0.8559 GB, free: 1.227 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (conNoRes.conPID.I.y,plaNoRes.cap1.T,plaNoRes.cap.T,conWitRes.conPID.I.y,plaWitRes.cap1.T,plaWitRes.cap.T) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,TSet.count,TSet.T_start,conNoRes.trigger.y) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.0001416/0.2318, allocations: 125 kB / 0.856 GB, free: 1.098 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009207/0.2327, allocations: 460.6 kB / 0.8564 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2327, allocations: 0 / 0.8564 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.2331, allocations: 202.4 kB / 0.8566 GB, free: 448 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007157/0.2338, allocations: 161.9 kB / 0.8568 GB, free: 292 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.2365, allocations: 1.397 MB / 0.8581 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.237, allocations: 0.8861 MB / 0.859 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001514/0.2371, allocations: 47.42 kB / 0.8591 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.2371, allocations: 0 / 0.8591 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of Templates: time 0.01091/0.2481, allocations: 7.677 MB / 0.8666 GB, free: 6.254 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.416521453065798] Failed to read output from testmodel.py, exit status != 0: 0.2558797460515052 0.270011124 0.057311205000000004 Calling exit ...