Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Buildings.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.3 MB / 308.1 MB, free: 4.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001802/0.001802, allocations: 182.4 kB / 376.9 MB, free: 1.777 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205 MB / 0.6354 GB, free: 9.762 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001241/0.001241, allocations: 101 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3501, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.LimPIDWithReset): time 0.006791/0.357, allocations: 4.151 MB / 0.9863 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.003756/0.3608, allocations: 1.322 MB / 0.9875 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.3619, allocations: 23.88 kB / 0.9876 GB, free: 4.848 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006425/0.3626, allocations: 103.2 kB / 0.9877 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0009504/0.3636, allocations: 142.8 kB / 0.9878 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3649, allocations: 387.5 kB / 0.9882 GB, free: 4.227 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001613/0.3666, allocations: 0.8852 MB / 0.989 GB, free: 3.336 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.3673, allocations: 426.4 kB / 0.9894 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000369/0.3677, allocations: 278.7 kB / 0.9897 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003366/0.368, allocations: 310.3 kB / 0.99 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.075e-05/0.3681, allocations: 43.94 kB / 0.99 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.172e-05/0.3682, allocations: 40 kB / 0.9901 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.3683, allocations: 127.4 kB / 0.9902 GB, free: 2.117 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003127/0.3687, allocations: 346.1 kB / 0.9905 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009257/0.3696, allocations: 0.9928 MB / 0.9915 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3696, allocations: 0 / 0.9915 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.287e-06/0.3696, allocations: 0 / 0.9915 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.3696, allocations: 3.938 kB / 0.9915 GB, free: 0.7773 MB / 0.7136 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.00199/0.3716, allocations: 1.077 MB / 0.9926 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.3717, allocations: 8.031 kB / 0.9926 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.3718, allocations: 84 kB / 0.9927 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008398/0.3727, allocations: 0.5494 MB / 0.9932 GB, free: 14.96 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.297e-05/0.3727, allocations: 45.69 kB / 0.9932 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.819e-05/0.3728, allocations: 64.28 kB / 0.9933 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.3739, allocations: 0.6118 MB / 0.9939 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/0.374, allocations: 0 / 0.9939 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.374, allocations: 23.94 kB / 0.9939 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.3741, allocations: 16 kB / 0.9939 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009544/0.375, allocations: 453 kB / 0.9944 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002847/0.3779, allocations: 2.016 MB / 0.9963 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.3788, allocations: 445.4 kB / 0.9968 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004362/0.3792, allocations: 254 kB / 0.997 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.132e-05/0.3793, allocations: 4.438 kB / 0.997 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006244/0.3799, allocations: 265.2 kB / 0.9973 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=49): time 1.934e-06/0.3799, allocations: 0 / 0.9973 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49): time 0.001218/0.3812, allocations: 0.5807 MB / 0.9978 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.3812, allocations: 59.84 kB / 0.9979 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005318/0.3818, allocations: 449.9 kB / 0.9983 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.615e-05/0.3818, allocations: 33.7 kB / 0.9983 GB, free: 9.535 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.3821, allocations: 324.3 kB / 0.9986 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3822, allocations: 165.6 kB / 0.9988 GB, free: 9.051 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.3824, allocations: 90.25 kB / 0.9989 GB, free: 8.953 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002158/0.3826, allocations: 366.8 kB / 0.9992 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003835/0.383, allocations: 169 kB / 0.9994 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.3834, allocations: 253.8 kB / 0.9996 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/0.3842, allocations: 452 kB / 1 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3842, allocations: 0 / 1 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009961/0.3852, allocations: 0.5623 MB / 1.001 GB, free: 7.102 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.3853, allocations: 41.62 kB / 1.001 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.521e-05/0.3853, allocations: 0 / 1.001 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.3853, allocations: 7.938 kB / 1.001 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000473/0.3858, allocations: 115.8 kB / 1.001 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.3858, allocations: 12.23 kB / 1.001 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/0.3862, allocations: 67.5 kB / 1.001 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.3862, allocations: 16 kB / 1.001 GB, free: 6.84 MB / 0.7292 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 (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.0002431/0.3865, allocations: 205.7 kB / 1.001 GB, free: 6.629 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-05/0.3866, allocations: 59.28 kB / 1.001 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001347/0.3867, allocations: 65.58 kB / 1.001 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3867, allocations: 4 kB / 1.001 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.3867, allocations: 0 / 1.001 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.3867, allocations: 3.984 kB / 1.001 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.3884, allocations: 1.181 MB / 1.002 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3885, allocations: 0 / 1.002 GB, free: 5.262 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.3889, allocations: 99.88 kB / 1.002 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3889, allocations: 0 / 1.002 GB, free: 5.164 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.346e-05/0.389, allocations: 8 kB / 1.002 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.389, allocations: 3.938 kB / 1.002 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.389, allocations: 4 kB / 1.002 GB, free: 5.148 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0067/0.3957, allocations: 4.197 MB / 1.007 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/0.3959, allocations: 172.3 kB / 1.007 GB, free: 0.6172 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.105e-05/0.3959, allocations: 11.98 kB / 1.007 GB, free: 0.6055 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.3962, allocations: 31.92 kB / 1.007 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.3963, allocations: 36.38 kB / 1.007 GB, free: 0.5391 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.3964, allocations: 12 kB / 1.007 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003286/0.3967, allocations: 310.9 kB / 1.007 GB, free: 232 kB / 0.7292 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3967, allocations: 0 / 1.007 GB, free: 232 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006559/0.3974, allocations: 199.4 kB / 1.007 GB, free: 32 kB / 0.7292 GB 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.0002085/0.3976, allocations: 123.2 kB / 1.007 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009512/0.3985, allocations: 477 kB / 1.008 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3986, allocations: 0 / 1.008 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.399, allocations: 222.8 kB / 1.008 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007692/0.3997, allocations: 142.7 kB / 1.008 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003002/0.4028, allocations: 1.939 MB / 1.01 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004458/0.4032, allocations: 0.8942 MB / 1.011 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002988/0.4035, allocations: 84.5 kB / 1.011 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001351/0.4037, allocations: 43.42 kB / 1.011 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/0.4037, allocations: 0 / 1.011 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.01279/0.4165, allocations: 6.964 MB / 1.018 GB, free: 5.145 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)