Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001125/0.001125, allocations: 191 kB / 17.29 MB, free: 5.516 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002032/0.002032, allocations: 288.7 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.896/0.896, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 90.83 kB / 0.5967 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1426, allocations: 86.97 MB / 0.6816 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.005053/0.1477, allocations: 4.336 MB / 0.6858 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1501, allocations: 1.582 MB / 0.6874 GB, free: 1.543 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.1505, allocations: 35.81 kB / 0.6874 GB, free: 1.508 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.1509, allocations: 166.2 kB / 0.6876 GB, free: 1.344 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005324/0.1514, allocations: 238 kB / 0.6878 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1525, allocations: 0.6558 MB / 0.6884 GB, free: 476 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.2405/0.3931, allocations: 1.224 MB / 0.6896 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009231/0.394, allocations: 0.5075 MB / 0.6901 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007246/0.3948, allocations: 459.2 kB / 0.6906 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006135/0.3954, allocations: 461.2 kB / 0.691 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002914/0.3957, allocations: 103.9 kB / 0.6911 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.3959, allocations: 102.8 kB / 0.6912 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.3961, allocations: 236.6 kB / 0.6914 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.3964, allocations: 492.4 kB / 0.6919 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.3975, allocations: 1.152 MB / 0.693 GB, free: 12.2 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3975, allocations: 1.703 kB / 0.693 GB, free: 12.2 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3975, allocations: 1.281 kB / 0.693 GB, free: 12.2 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.3975, allocations: 0 / 0.693 GB, free: 12.2 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002118/0.3997, allocations: 1.397 MB / 0.6944 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.3997, allocations: 8.875 kB / 0.6944 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.3999, allocations: 124.4 kB / 0.6945 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.4011, allocations: 0.7575 MB / 0.6952 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/0.4012, allocations: 79.27 kB / 0.6953 GB, free: 10.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/0.4013, allocations: 75.33 kB / 0.6954 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.4024, allocations: 0.7355 MB / 0.6961 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.4024, allocations: 0.5625 kB / 0.6961 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.4025, allocations: 34.88 kB / 0.6961 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/0.4025, allocations: 16.62 kB / 0.6962 GB, free: 10.51 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.4036, allocations: 0.5165 MB / 0.6967 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002988/0.4066, allocations: 2.244 MB / 0.6989 GB, free: 9.051 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/0.4079, allocations: 0.6293 MB / 0.6995 GB, free: 8.809 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.4084, allocations: 285.6 kB / 0.6997 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.225e-05/0.4084, allocations: 8.016 kB / 0.6998 GB, free: 8.688 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005732/0.409, allocations: 325.6 kB / 0.7001 GB, free: 8.547 MB / 494.1 MB Notification: Performance of pre-optimization done (n=60): time 2.164e-06/0.409, allocations: 0 / 0.7001 GB, free: 8.547 MB / 494.1 MB Notification: Performance of matching and sorting (n=60): time 0.001456/0.4105, allocations: 0.7465 MB / 0.7008 GB, free: 8.246 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.4105, allocations: 92.17 kB / 0.7009 GB, free: 8.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008309/0.4113, allocations: 0.7593 MB / 0.7016 GB, free: 7.824 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.474e-05/0.4114, allocations: 38 kB / 0.7017 GB, free: 7.785 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002422/0.4117, allocations: 436.5 kB / 0.7021 GB, free: 7.445 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.4118, allocations: 207.7 kB / 0.7023 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.4119, allocations: 110.8 kB / 0.7024 GB, free: 7.223 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.21e-05/0.412, allocations: 326.9 kB / 0.7027 GB, free: 6.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004308/0.4124, allocations: 212 kB / 0.7029 GB, free: 6.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.4129, allocations: 308.3 kB / 0.7032 GB, free: 6.648 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.4138, allocations: 0.505 MB / 0.7037 GB, free: 6.375 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.4138, allocations: 0 / 0.7037 GB, free: 6.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001121/0.4149, allocations: 0.6566 MB / 0.7043 GB, free: 6.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.4149, allocations: 5.75 kB / 0.7043 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.4149, allocations: 3.859 kB / 0.7043 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.415, allocations: 8.406 kB / 0.7043 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.4156, allocations: 143.7 kB / 0.7045 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.4156, allocations: 6.062 kB / 0.7045 GB, free: 6.094 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.416, allocations: 71.8 kB / 0.7045 GB, free: 6.051 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.4161, allocations: 25.28 kB / 0.7046 GB, free: 6.043 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005354/0.4166, allocations: 354.6 kB / 0.7049 GB, free: 5.844 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004336/0.4171, allocations: 294.9 kB / 0.7052 GB, free: 5.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007839/0.4179, allocations: 498.7 kB / 0.7057 GB, free: 5.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.535e-06/0.4179, allocations: 4.969 kB / 0.7057 GB, free: 5.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00106/0.4189, allocations: 0.6307 MB / 0.7063 GB, free: 5.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.419, allocations: 6.469 kB / 0.7063 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.419, allocations: 3.25 kB / 0.7063 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.203e-06/0.419, allocations: 4.469 kB / 0.7063 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.4196, allocations: 142.1 kB / 0.7064 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.4196, allocations: 4.797 kB / 0.7064 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.42, allocations: 60.45 kB / 0.7065 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.286e-05/0.42, allocations: 25.19 kB / 0.7065 GB, free: 5.066 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001299/0.4202, allocations: 213.4 kB / 0.7067 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.4203, allocations: 91.86 kB / 0.7068 GB, free: 4.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.4205, allocations: 106.1 kB / 0.7069 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.4205, allocations: 5.344 kB / 0.7069 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.4205, allocations: 5.797 kB / 0.7069 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4205, allocations: 10.84 kB / 0.7069 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.4226, allocations: 1.438 MB / 0.7083 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4226, allocations: 1.375 kB / 0.7083 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005603/0.4232, allocations: 108.7 kB / 0.7084 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.4232, allocations: 6.219 kB / 0.7085 GB, free: 3.996 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.4232, allocations: 13.69 kB / 0.7085 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.4232, allocations: 2.344 kB / 0.7085 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.4232, allocations: 0 / 0.7085 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.4248, allocations: 0.9585 MB / 0.7094 GB, free: 3.512 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.425, allocations: 224.4 kB / 0.7096 GB, free: 3.324 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.893e-05/0.4251, allocations: 12.12 kB / 0.7096 GB, free: 3.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.4256, allocations: 32 kB / 0.7097 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.9e-05/0.4257, allocations: 39.86 kB / 0.7097 GB, free: 3.301 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.4257, allocations: 18.08 kB / 0.7097 GB, free: 3.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005617/0.4263, allocations: 0.5163 MB / 0.7102 GB, free: 3.082 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4263, allocations: 0.9375 kB / 0.7102 GB, free: 3.082 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006668/0.427, allocations: 277.5 kB / 0.7105 GB, free: 3.004 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001033/0.4271, allocations: 116.1 kB / 0.7106 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.4285, allocations: 0.7942 MB / 0.7114 GB, free: 2.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4285, allocations: 5.062 kB / 0.7114 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004548/0.429, allocations: 272.2 kB / 0.7116 GB, free: 2.582 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.43, allocations: 264.6 kB / 0.7119 GB, free: 2.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.4321, allocations: 1.545 MB / 0.7134 GB, free: 1.668 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.4326, allocations: 0.9922 MB / 0.7144 GB, free: 0.957 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004232/0.433, allocations: 120.5 kB / 0.7145 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.4332, allocations: 60.83 kB / 0.7145 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4332, allocations: 0 / 0.7145 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of Templates: time 0.016/0.4492, allocations: 9.275 MB / 0.7236 GB, free: 14.16 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)