Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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.001116/0.001116, allocations: 92.22 kB / 20.46 MB, free: 4.113 MB / 18.57 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.001226/0.001226, allocations: 157 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9937/0.9937, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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.7.0/package.mo): time 0.5782/0.5782, allocations: 110.2 MB / 371 MB, free: 12.42 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 475.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.669e-05/2.833e-05, allocations: 2.312 kB / 475.1 MB, free: 15.14 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.005144/0.005172, allocations: 4.005 MB / 479.1 MB, free: 12.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002968/0.008141, allocations: 1.353 MB / 480.5 MB, free: 11.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.008775, allocations: 32.62 kB / 480.5 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003639/0.009138, allocations: 124.8 kB / 480.7 MB, free: 11.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000478/0.009616, allocations: 190.5 kB / 480.8 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.01049, allocations: 420.5 kB / 481.2 MB, free: 11.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001003/0.01149, allocations: 0.9826 MB / 482.2 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004183/0.01191, allocations: 285.3 kB / 482.5 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004744/0.01239, allocations: 0.4971 MB / 483 MB, free: 10.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.01264, allocations: 236.8 kB / 483.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.561e-05/0.01273, allocations: 91.03 kB / 483.3 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.784e-05/0.01282, allocations: 92.5 kB / 483.4 MB, free: 10.01 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.105e-05/0.0129, allocations: 183.4 kB / 483.6 MB, free: 9.875 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001968/0.0131, allocations: 251.1 kB / 483.8 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005938/0.01369, allocations: 0.5856 MB / 484.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.0137, allocations: 0 / 484.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.0137, allocations: 0.8125 kB / 484.4 MB, free: 9.391 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.01372, allocations: 0.5 kB / 484.4 MB, free: 9.391 MB / 410.7 MB 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.001187/0.01491, allocations: 1.159 MB / 485.6 MB, free: 8.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.01494, allocations: 10.59 kB / 485.6 MB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.0151, allocations: 130.5 kB / 485.7 MB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005876/0.01568, allocations: 0.5391 MB / 486.3 MB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/0.01572, allocations: 45.69 kB / 486.3 MB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.465e-05/0.01579, allocations: 58.62 kB / 486.4 MB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.01637, allocations: 0.5193 MB / 486.9 MB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.01639, allocations: 2.219 kB / 486.9 MB, free: 7.824 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.429e-05/0.01643, allocations: 30.25 kB / 486.9 MB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.01644, allocations: 18.22 kB / 486.9 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003833/0.01683, allocations: 220 kB / 487.1 MB, free: 7.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.01866, allocations: 1.804 MB / 489 MB, free: 22.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.01906, allocations: 281.7 kB / 489.2 MB, free: 22.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.01923, allocations: 128.9 kB / 489.4 MB, free: 22.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.01927, allocations: 8.375 kB / 489.4 MB, free: 22.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.01951, allocations: 182.1 kB / 489.5 MB, free: 22.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 1.442e-06/0.01951, allocations: 1.438 kB / 489.5 MB, free: 22.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0005568/0.02007, allocations: 386 kB / 489.9 MB, free: 22.17 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.0201, allocations: 62.38 kB / 490 MB, free: 22.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003236/0.02042, allocations: 442.2 kB / 490.4 MB, free: 21.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/0.02045, allocations: 36.39 kB / 490.4 MB, free: 21.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.0206, allocations: 386.7 kB / 490.8 MB, free: 21.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.383e-05/0.02068, allocations: 168.8 kB / 491 MB, free: 21.37 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.02078, allocations: 98.23 kB / 491.1 MB, free: 21.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.02092, allocations: 0.5364 MB / 491.6 MB, free: 20.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.02107, allocations: 102.5 kB / 491.7 MB, free: 20.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.02124, allocations: 217.5 kB / 491.9 MB, free: 20.58 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.02155, allocations: 301.7 kB / 492.2 MB, free: 20.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02155, allocations: 0 / 492.2 MB, free: 20.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004761/0.02203, allocations: 455.9 kB / 492.7 MB, free: 20.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.02206, allocations: 35.2 kB / 492.7 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.02206, allocations: 3.312 kB / 492.7 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.02208, allocations: 4.156 kB / 492.7 MB, free: 20.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002852/0.02237, allocations: 113 kB / 492.8 MB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.02238, allocations: 12.31 kB / 492.8 MB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001436/0.02252, allocations: 46.95 kB / 492.9 MB, free: 20.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.02254, allocations: 18.97 kB / 492.9 MB, free: 20.08 MB / 426.7 MB 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.0001343/0.02268, allocations: 190.5 kB / 493.1 MB, free: 19.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.224e-05/0.02274, allocations: 71.55 kB / 493.2 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.586e-05/0.02281, allocations: 59.81 kB / 493.2 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.02281, allocations: 5.656 kB / 493.2 MB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.02282, allocations: 5.438 kB / 493.2 MB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.02282, allocations: 4.281 kB / 493.2 MB, free: 19.81 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008948/0.02372, allocations: 0.8764 MB / 494.1 MB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02372, allocations: 5.438 kB / 494.1 MB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002403/0.02396, allocations: 87.77 kB / 494.2 MB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.02397, allocations: 1.156 kB / 494.2 MB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.02399, allocations: 15.67 kB / 494.2 MB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.02399, allocations: 6.219 kB / 494.2 MB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.02399, allocations: 1.656 kB / 494.2 MB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005749/0.02457, allocations: 0.5576 MB / 494.8 MB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.02467, allocations: 91.19 kB / 494.9 MB, free: 18.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.629e-05/0.02471, allocations: 15.75 kB / 494.9 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.02482, allocations: 18.83 kB / 494.9 MB, free: 18.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.803e-05/0.02489, allocations: 39.38 kB / 494.9 MB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.02491, allocations: 13.09 kB / 495 MB, free: 18.87 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002058/0.02511, allocations: 289 kB / 495.2 MB, free: 18.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.02511, allocations: 0 / 495.2 MB, free: 18.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.02544, allocations: 145.9 kB / 495.4 MB, free: 18.66 MB / 426.7 MB 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.0001113/0.02555, allocations: 119.5 kB / 495.5 MB, free: 18.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004077/0.02596, allocations: 345.4 kB / 495.8 MB, free: 18.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.02596, allocations: 0 / 495.8 MB, free: 18.41 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.02614, allocations: 145.1 kB / 496 MB, free: 18.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.02661, allocations: 162.5 kB / 496.1 MB, free: 18.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.02833, allocations: 1.167 MB / 497.3 MB, free: 17.69 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.844e-05/0.02842, allocations: 132 kB / 497.4 MB, free: 17.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.0286, allocations: 66.83 kB / 497.5 MB, free: 17.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.492e-05/0.0287, allocations: 41.39 kB / 497.5 MB, free: 17.6 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.0287, allocations: 1.719 kB / 497.5 MB, free: 17.6 MB / 426.7 MB Notification: Performance of Templates: time 0.009316/0.03801, allocations: 5.831 MB / 0.4916 GB, free: 16.93 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5873976801522076]