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.0009778/0.0009778, allocations: 80.39 kB / 20.98 MB, free: 3.574 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.0009768/0.0009768, allocations: 165 kB / 24.28 MB, free: 280 kB / 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.9361/0.9361, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.5843/0.5843, allocations: 110.3 MB / 371.3 MB, free: 12.53 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.253e-06/1.253e-06, allocations: 0 / 475.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.598e-05, allocations: 4.297 kB / 475.1 MB, free: 15.2 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.003139/0.003155, allocations: 3.99 MB / 479.1 MB, free: 12.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.004526, allocations: 1.348 MB / 480.5 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.004767, allocations: 29.91 kB / 480.5 MB, free: 11.63 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.005005, allocations: 129.9 kB / 480.6 MB, free: 11.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002041/0.005209, allocations: 192.9 kB / 480.8 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.005681, allocations: 411.5 kB / 481.2 MB, free: 11.14 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004881/0.006169, allocations: 0.9819 MB / 482.2 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002991/0.006468, allocations: 284.6 kB / 482.5 MB, free: 10.42 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003172/0.006785, allocations: 0.4956 MB / 483 MB, free: 10.16 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.006967, allocations: 246.9 kB / 483.2 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.007036, allocations: 90.91 kB / 483.3 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.422e-05/0.00712, allocations: 89.88 kB / 483.4 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.22e-05/0.007202, allocations: 188.4 kB / 483.6 MB, free: 9.93 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.007362, allocations: 248.3 kB / 483.8 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.007761, allocations: 0.5825 MB / 484.4 MB, free: 9.445 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.007764, allocations: 4 kB / 484.4 MB, free: 9.441 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.71e-07/0.007764, allocations: 2.531 kB / 484.4 MB, free: 9.441 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.007771, allocations: 0 / 484.4 MB, free: 9.441 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.001018/0.008789, allocations: 1.15 MB / 485.6 MB, free: 8.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.008821, allocations: 8.719 kB / 485.6 MB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.008954, allocations: 141 kB / 485.7 MB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.009454, allocations: 0.5365 MB / 486.2 MB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/0.009482, allocations: 45.53 kB / 486.3 MB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.009546, allocations: 65.5 kB / 486.4 MB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005392/0.01009, allocations: 0.5157 MB / 486.9 MB, free: 7.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.0101, allocations: 5.469 kB / 486.9 MB, free: 7.871 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.01014, allocations: 22.62 kB / 486.9 MB, free: 7.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.01015, allocations: 18 kB / 486.9 MB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003558/0.01051, allocations: 226 kB / 487.1 MB, free: 7.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.01209, allocations: 1.802 MB / 488.9 MB, free: 22.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003463/0.01243, allocations: 269.6 kB / 489.2 MB, free: 22.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.0126, allocations: 128.6 kB / 489.3 MB, free: 22.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.01262, allocations: 8.719 kB / 489.3 MB, free: 22.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.01282, allocations: 187.1 kB / 489.5 MB, free: 22.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 1.743e-06/0.01282, allocations: 3.984 kB / 489.5 MB, free: 22.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.0004875/0.01331, allocations: 386.5 kB / 489.9 MB, free: 22.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.762e-05/0.01333, allocations: 61.53 kB / 490 MB, free: 22.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.01361, allocations: 442 kB / 490.4 MB, free: 21.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.01364, allocations: 36.73 kB / 490.4 MB, free: 21.88 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.01377, allocations: 391.2 kB / 490.8 MB, free: 21.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.762e-05/0.01384, allocations: 171.7 kB / 491 MB, free: 21.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.215e-05/0.01393, allocations: 102.3 kB / 491.1 MB, free: 21.35 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.01407, allocations: 0.5332 MB / 491.6 MB, free: 20.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.0142, allocations: 99.22 kB / 491.7 MB, free: 20.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001587/0.01436, allocations: 210.3 kB / 491.9 MB, free: 20.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.01465, allocations: 305.9 kB / 492.2 MB, free: 20.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.01465, allocations: 1.281 kB / 492.2 MB, free: 20.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0004271/0.01508, allocations: 449.1 kB / 492.6 MB, free: 20.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.01509, allocations: 32.23 kB / 492.7 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.0151, allocations: 2.906 kB / 492.7 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.01511, allocations: 8.891 kB / 492.7 MB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002637/0.01537, allocations: 112.4 kB / 492.8 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.01538, allocations: 7.875 kB / 492.8 MB, free: 20.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001398/0.01552, allocations: 51.95 kB / 492.9 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.01554, allocations: 18.22 kB / 492.9 MB, free: 20.14 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.0001229/0.01566, allocations: 196.4 kB / 493.1 MB, free: 19.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.01572, allocations: 72.02 kB / 493.1 MB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.01578, allocations: 64.61 kB / 493.2 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01578, allocations: 6.188 kB / 493.2 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.01578, allocations: 5.469 kB / 493.2 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.01579, allocations: 3.234 kB / 493.2 MB, free: 19.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007712/0.01656, allocations: 0.8692 MB / 494.1 MB, free: 19.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01656, allocations: 2.469 kB / 494.1 MB, free: 19.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.01681, allocations: 87.5 kB / 494.2 MB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01681, allocations: 3.219 kB / 494.2 MB, free: 19.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.01683, allocations: 17.89 kB / 494.2 MB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.01683, allocations: 3.469 kB / 494.2 MB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01683, allocations: 0 / 494.2 MB, free: 19.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005209/0.01735, allocations: 0.5584 MB / 494.8 MB, free: 19.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.01746, allocations: 89.45 kB / 494.8 MB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.692e-05/0.01749, allocations: 14.5 kB / 494.9 MB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.01761, allocations: 20.67 kB / 494.9 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/0.01767, allocations: 32.64 kB / 494.9 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.01768, allocations: 17.83 kB / 494.9 MB, free: 18.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001827/0.01787, allocations: 287.6 kB / 495.2 MB, free: 18.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01787, allocations: 0 / 495.2 MB, free: 18.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002609/0.01813, allocations: 154.2 kB / 495.4 MB, free: 18.72 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 7.644e-05/0.0182, allocations: 114.1 kB / 495.5 MB, free: 18.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.01858, allocations: 345.6 kB / 495.8 MB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.01858, allocations: 0 / 495.8 MB, free: 18.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.01874, allocations: 144.1 kB / 495.9 MB, free: 18.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/0.01915, allocations: 164.8 kB / 496.1 MB, free: 18.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.02055, allocations: 1.165 MB / 497.3 MB, free: 17.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.577e-05/0.02062, allocations: 133.4 kB / 497.4 MB, free: 17.67 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.02077, allocations: 64.86 kB / 497.5 MB, free: 17.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.851e-05/0.02085, allocations: 48.06 kB / 497.5 MB, free: 17.65 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.02085, allocations: 0 / 497.5 MB, free: 17.65 MB / 426.7 MB Notification: Performance of Templates: time 0.008086/0.02893, allocations: 5.829 MB / 0.4915 GB, free: 16.97 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.4615326470229775]