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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 105.3 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8155/0.8155, allocations: 143.1 MB / 434.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 59.89 kB / 0.5148 GB, free: 15.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3572, allocations: 82.02 MB / 0.5949 GB, free: 16.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset): time 0.00412/0.3613, allocations: 4.113 MB / 0.5989 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00184/0.3632, allocations: 1.316 MB / 0.6002 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.3635, allocations: 19.94 kB / 0.6002 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.3638, allocations: 126.7 kB / 0.6004 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.364, allocations: 178.7 kB / 0.6005 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.3647, allocations: 424.2 kB / 0.6009 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005918/0.3653, allocations: 0.9516 MB / 0.6019 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004686/0.3658, allocations: 466.3 kB / 0.6023 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002486/0.366, allocations: 322.8 kB / 0.6026 GB, free: 8.293 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.3663, allocations: 343.8 kB / 0.6029 GB, free: 7.957 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.521e-05/0.3664, allocations: 92 kB / 0.603 GB, free: 7.867 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.583e-05/0.3664, allocations: 88 kB / 0.6031 GB, free: 7.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.465e-05/0.3665, allocations: 171.5 kB / 0.6033 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000217/0.3668, allocations: 400.4 kB / 0.6037 GB, free: 7.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005914/0.3674, allocations: 1.08 MB / 0.6047 GB, free: 6.141 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3674, allocations: 0 / 0.6047 GB, free: 6.141 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3674, allocations: 3.938 kB / 0.6047 GB, free: 6.137 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.3674, allocations: 0 / 0.6047 GB, free: 6.137 MB / 446.1 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.001444/0.3689, allocations: 1.077 MB / 0.6058 GB, free: 5.008 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3689, allocations: 8.938 kB / 0.6058 GB, free: 5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.369, allocations: 88 kB / 0.6059 GB, free: 4.914 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006282/0.3697, allocations: 0.5509 MB / 0.6064 GB, free: 4.328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.3697, allocations: 45.69 kB / 0.6064 GB, free: 4.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.08e-05/0.3698, allocations: 60.38 kB / 0.6065 GB, free: 4.227 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008266/0.3706, allocations: 0.6038 MB / 0.6071 GB, free: 3.602 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3706, allocations: 4 kB / 0.6071 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.83e-05/0.3707, allocations: 27.98 kB / 0.6071 GB, free: 3.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.3707, allocations: 16 kB / 0.6071 GB, free: 3.555 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008115/0.3715, allocations: 459.1 kB / 0.6076 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002118/0.3737, allocations: 2.025 MB / 0.6096 GB, free: 1.023 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007496/0.3744, allocations: 442.6 kB / 0.61 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/0.3748, allocations: 239.7 kB / 0.6102 GB, free: 360 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.3748, allocations: 8.438 kB / 0.6102 GB, free: 352 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/0.3753, allocations: 263.7 kB / 0.6105 GB, free: 76 kB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.374e-06/0.3753, allocations: 3.938 kB / 0.6105 GB, free: 72 kB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001256/0.3766, allocations: 0.5819 MB / 0.611 GB, free: 15.48 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3767, allocations: 60.41 kB / 0.6111 GB, free: 15.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004763/0.3771, allocations: 438.6 kB / 0.6115 GB, free: 14.97 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.3772, allocations: 38.73 kB / 0.6115 GB, free: 14.93 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.3774, allocations: 324.9 kB / 0.6119 GB, free: 14.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.3776, allocations: 170.3 kB / 0.612 GB, free: 14.45 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.3777, allocations: 91.53 kB / 0.6121 GB, free: 14.35 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3779, allocations: 366.8 kB / 0.6125 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003859/0.3783, allocations: 166.5 kB / 0.6126 GB, free: 13.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.3787, allocations: 247.9 kB / 0.6129 GB, free: 13.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.3795, allocations: 453.6 kB / 0.6133 GB, free: 13.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.3795, allocations: 0 / 0.6133 GB, free: 13.08 MB / 462.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009983/0.3805, allocations: 0.5627 MB / 0.6138 GB, free: 12.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/0.3806, allocations: 45.56 kB / 0.6139 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3806, allocations: 7.938 kB / 0.6139 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.3806, allocations: 4 kB / 0.6139 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005005/0.3811, allocations: 108.8 kB / 0.614 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.3811, allocations: 7.938 kB / 0.614 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.3814, allocations: 56.52 kB / 0.6141 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.3815, allocations: 20.64 kB / 0.6141 GB, free: 12.26 MB / 462.1 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$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.0002385/0.3817, allocations: 209.9 kB / 0.6143 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.3818, allocations: 55.28 kB / 0.6143 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.3819, allocations: 66.08 kB / 0.6144 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.797e-05/0.3819, allocations: 8.531 kB / 0.6144 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.382, allocations: 0 / 0.6144 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.382, allocations: 1.281 kB / 0.6144 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001688/0.3837, allocations: 1.179 MB / 0.6156 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3837, allocations: 0 / 0.6156 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.3841, allocations: 96.89 kB / 0.6156 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3842, allocations: 4 kB / 0.6156 GB, free: 10.59 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.327e-05/0.3842, allocations: 12.69 kB / 0.6157 GB, free: 10.58 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3842, allocations: 4 kB / 0.6157 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3842, allocations: 4.469 kB / 0.6157 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.3855, allocations: 0.7592 MB / 0.6164 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.3857, allocations: 177.3 kB / 0.6166 GB, free: 9.605 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.3858, allocations: 12 kB / 0.6166 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.3861, allocations: 20.64 kB / 0.6166 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.183e-05/0.3862, allocations: 40.97 kB / 0.6166 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.43e-05/0.3862, allocations: 8 kB / 0.6167 GB, free: 9.527 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003408/0.3866, allocations: 311.5 kB / 0.617 GB, free: 9.227 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3866, allocations: 5.719 kB / 0.617 GB, free: 9.223 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004445/0.387, allocations: 139.5 kB / 0.6171 GB, free: 9.086 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * 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.0001522/0.3872, allocations: 115.8 kB / 0.6172 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.3883, allocations: 499.2 kB / 0.6177 GB, free: 8.469 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3883, allocations: 0.75 kB / 0.6177 GB, free: 8.469 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.3887, allocations: 219.1 kB / 0.6179 GB, free: 8.254 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007346/0.3894, allocations: 159 kB / 0.618 GB, free: 8.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.392, allocations: 1.395 MB / 0.6194 GB, free: 6.695 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004474/0.3925, allocations: 0.8899 MB / 0.6203 GB, free: 5.781 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.3926, allocations: 43.44 kB / 0.6203 GB, free: 5.738 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3926, allocations: 0 / 0.6203 GB, free: 5.738 MB / 462.1 MB Notification: Performance of Templates: time 0.01029/0.4029, allocations: 7.598 MB / 0.6277 GB, free: 14.19 MB / 478.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (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=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)