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.001607/0.001607, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00182/0.00182, allocations: 214.7 kB / 22.99 MB, free: 4.945 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.002553/0.002553, allocations: 286.9 kB / 313.5 MB, free: 2.59 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.222/1.222, allocations: 180.6 MB / 0.5377 GB, free: 14.53 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.002998/0.002998, allocations: 104 kB / 0.7407 GB, free: 27.64 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1663, allocations: 95.38 MB / 0.8338 GB, free: 7.859 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.LimPIDWithReset): time 0.005631/0.1719, allocations: 3.765 MB / 0.8375 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002479/0.1744, allocations: 1.329 MB / 0.8388 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.1747, allocations: 31.81 kB / 0.8388 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003822/0.1751, allocations: 126.7 kB / 0.839 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003831/0.1755, allocations: 182.4 kB / 0.8391 GB, free: 2.402 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000921/0.1764, allocations: 424.9 kB / 0.8395 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.1775, allocations: 0.9593 MB / 0.8405 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005282/0.178, allocations: 290.5 kB / 0.8407 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004094/0.1784, allocations: 342.8 kB / 0.8411 GB, free: 392 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000378/0.1788, allocations: 298.3 kB / 0.8414 GB, free: 92 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.1789, allocations: 92 kB / 0.8414 GB, free: 0 / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001545/0.179, allocations: 88.05 kB / 0.8415 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001617/0.1792, allocations: 179.3 kB / 0.8417 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.1795, allocations: 314.5 kB / 0.842 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001271/0.1808, allocations: 1.07 MB / 0.843 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.1808, allocations: 0 / 0.843 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.405e-06/0.1808, allocations: 0 / 0.843 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.276e-05/0.1808, allocations: 0 / 0.843 GB, free: 14.36 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.002099/0.1829, allocations: 1.072 MB / 0.8441 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.183, allocations: 13.94 kB / 0.8441 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001699/0.1832, allocations: 92.38 kB / 0.8442 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001034/0.1842, allocations: 0.4999 MB / 0.8447 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.164e-05/0.1842, allocations: 45.69 kB / 0.8447 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.1844, allocations: 56.38 kB / 0.8448 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.1855, allocations: 0.662 MB / 0.8454 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.1856, allocations: 3.938 kB / 0.8454 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.1856, allocations: 27.94 kB / 0.8455 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/0.1856, allocations: 16 kB / 0.8455 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.1866, allocations: 449 kB / 0.8459 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002783/0.1894, allocations: 1.706 MB / 0.8476 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009348/0.1903, allocations: 418.7 kB / 0.848 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.1908, allocations: 222.1 kB / 0.8482 GB, free: 8.934 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.1908, allocations: 4.438 kB / 0.8482 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005528/0.1914, allocations: 265.3 kB / 0.8484 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 1.914e-06/0.1914, allocations: 0 / 0.8484 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001342/0.1927, allocations: 0.5885 MB / 0.849 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.1928, allocations: 59.84 kB / 0.8491 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005025/0.1933, allocations: 430.5 kB / 0.8495 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.023e-05/0.1933, allocations: 33.7 kB / 0.8495 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002779/0.1936, allocations: 340.8 kB / 0.8498 GB, free: 7.184 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.1938, allocations: 170.5 kB / 0.85 GB, free: 7.016 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/0.1939, allocations: 94.33 kB / 0.8501 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001916/0.1941, allocations: 362.8 kB / 0.8504 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.1945, allocations: 194.9 kB / 0.8506 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004926/0.195, allocations: 280.4 kB / 0.8509 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008853/0.1959, allocations: 455 kB / 0.8513 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1959, allocations: 0 / 0.8513 GB, free: 5.574 MB / 0.5919 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001103/0.197, allocations: 0.5941 MB / 0.8519 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.197, allocations: 33.7 kB / 0.8519 GB, free: 4.922 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.1971, allocations: 7.938 kB / 0.8519 GB, free: 4.914 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1971, allocations: 4 kB / 0.8519 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.1976, allocations: 120.1 kB / 0.8521 GB, free: 4.793 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.1976, allocations: 7.984 kB / 0.8521 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000305/0.1979, allocations: 55.66 kB / 0.8521 GB, free: 4.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.1979, allocations: 16 kB / 0.8521 GB, free: 4.715 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.0002552/0.1982, allocations: 212.8 kB / 0.8523 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.085e-05/0.1983, allocations: 59.62 kB / 0.8524 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001383/0.1984, allocations: 65.39 kB / 0.8525 GB, free: 4.379 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1984, allocations: 11.94 kB / 0.8525 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1984, allocations: 0 / 0.8525 GB, free: 4.367 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1984, allocations: 3.984 kB / 0.8525 GB, free: 4.363 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.2002, allocations: 0.9983 MB / 0.8534 GB, free: 3.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.2002, allocations: 3.938 kB / 0.8534 GB, free: 3.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004785/0.2007, allocations: 91.89 kB / 0.8535 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2007, allocations: 0 / 0.8535 GB, free: 3.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.2008, allocations: 19.98 kB / 0.8536 GB, free: 3.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.508e-06/0.2008, allocations: 4 kB / 0.8536 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2008, allocations: 0 / 0.8536 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.2022, allocations: 0.7496 MB / 0.8543 GB, free: 2.445 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001944/0.2024, allocations: 107.4 kB / 0.8544 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.36e-05/0.2025, allocations: 12 kB / 0.8544 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.2027, allocations: 27.97 kB / 0.8544 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.663e-05/0.2028, allocations: 36.38 kB / 0.8545 GB, free: 2.266 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.979e-05/0.2029, allocations: 15.98 kB / 0.8545 GB, free: 2.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003472/0.2032, allocations: 295.1 kB / 0.8548 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.2032, allocations: 0 / 0.8548 GB, free: 1.965 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004724/0.2037, allocations: 139.6 kB / 0.8549 GB, free: 1.828 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.0001459/0.2038, allocations: 116.4 kB / 0.855 GB, free: 1.707 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009848/0.2048, allocations: 498.3 kB / 0.8555 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2048, allocations: 0 / 0.8555 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004344/0.2052, allocations: 198.4 kB / 0.8557 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.206, allocations: 153.7 kB / 0.8558 GB, free: 0.8633 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/0.2087, allocations: 1.393 MB / 0.8572 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.209, allocations: 292.7 kB / 0.8575 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.2092, allocations: 47.38 kB / 0.8575 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of SimCode: time 4.31e-07/0.2092, allocations: 0 / 0.8575 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of Templates: time 0.0118/0.221, allocations: 7.808 MB / 0.8651 GB, free: 7.305 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.016192669980228] Failed to read output from testmodel.py, exit status != 0: 0.2285466492176056 0.24407652200000002 0.060153452 Calling exit ...