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: "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0007984, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005333/0.005333, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 274.6 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9246/0.9246, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 15.56 kB / 0.5988 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1273, allocations: 88.54 MB / 0.6852 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Validation.LimPIDReset): time 0.004024/0.1313, allocations: 3.896 MB / 0.689 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.1339, allocations: 1.528 MB / 0.6905 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003859/0.1343, allocations: 35.81 kB / 0.6906 GB, free: 9.52 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000297/0.1346, allocations: 118.8 kB / 0.6907 GB, free: 9.402 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005537/0.1352, allocations: 180.5 kB / 0.6908 GB, free: 9.23 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.1364, allocations: 0.6248 MB / 0.6914 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001107/0.1375, allocations: 1.132 MB / 0.6926 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006989/0.1382, allocations: 497.1 kB / 0.693 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004607/0.1387, allocations: 353.8 kB / 0.6934 GB, free: 6.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.1391, allocations: 353.5 kB / 0.6937 GB, free: 6.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.846e-05/0.1391, allocations: 24 kB / 0.6937 GB, free: 6.27 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.578e-05/0.1392, allocations: 28 kB / 0.6938 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1393, allocations: 143.1 kB / 0.6939 GB, free: 6.102 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003051/0.1396, allocations: 418.7 kB / 0.6943 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000807/0.1405, allocations: 1.004 MB / 0.6953 GB, free: 4.676 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1405, allocations: 0 / 0.6953 GB, free: 4.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1405, allocations: 0 / 0.6953 GB, free: 4.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.1405, allocations: 0 / 0.6953 GB, free: 4.676 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.002041/0.1425, allocations: 1.243 MB / 0.6965 GB, free: 3.383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/0.1426, allocations: 16.02 kB / 0.6965 GB, free: 3.367 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.1427, allocations: 106.7 kB / 0.6966 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.1429, allocations: 123.5 kB / 0.6967 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.1439, allocations: 0.7314 MB / 0.6974 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-05/0.144, allocations: 80.27 kB / 0.6975 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.1442, allocations: 68.38 kB / 0.6976 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.1454, allocations: 0.7444 MB / 0.6983 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1454, allocations: 4 kB / 0.6983 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.1455, allocations: 32 kB / 0.6983 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.1455, allocations: 16 kB / 0.6984 GB, free: 1.375 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001111/0.1467, allocations: 0.5322 MB / 0.6989 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003217/0.1499, allocations: 2.294 MB / 0.7011 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.1513, allocations: 0.6322 MB / 0.7017 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.1518, allocations: 291.6 kB / 0.702 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.05e-05/0.1519, allocations: 8.562 kB / 0.702 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006762/0.1526, allocations: 327.1 kB / 0.7023 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.677e-06/0.1526, allocations: 3.984 kB / 0.7023 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.0016/0.1542, allocations: 0.7673 MB / 0.7031 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.1542, allocations: 93.48 kB / 0.7032 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/0.1551, allocations: 0.7634 MB / 0.7039 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.553e-05/0.1552, allocations: 37.7 kB / 0.7039 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000313/0.1555, allocations: 440.5 kB / 0.7044 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.1556, allocations: 205 kB / 0.7046 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.1557, allocations: 61.69 kB / 0.7046 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.1558, allocations: 326 kB / 0.7049 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.1563, allocations: 209.2 kB / 0.7051 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.1569, allocations: 316.4 kB / 0.7054 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009825/0.1579, allocations: 0.5153 MB / 0.7059 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1579, allocations: 0 / 0.7059 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001223/0.1591, allocations: 0.6656 MB / 0.7066 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/0.1592, allocations: 159.1 kB / 0.7067 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.1592, allocations: 4 kB / 0.7067 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1592, allocations: 8 kB / 0.7068 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.1599, allocations: 147.8 kB / 0.7069 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.1599, allocations: 4 kB / 0.7069 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004267/0.1603, allocations: 71.41 kB / 0.707 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.1604, allocations: 24 kB / 0.707 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.881e-06/0.1604, allocations: 8 kB / 0.707 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001025/0.1614, allocations: 0.5286 MB / 0.7075 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1614, allocations: 8.031 kB / 0.7075 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.29e-06/0.1614, allocations: 4 kB / 0.7075 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005973/0.162, allocations: 143.7 kB / 0.7077 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/0.1621, allocations: 4 kB / 0.7077 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/0.1625, allocations: 67.36 kB / 0.7077 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.1625, allocations: 23.98 kB / 0.7078 GB, free: 7.488 MB / 0.4981 GB 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.0002991/0.1628, allocations: 303.4 kB / 0.708 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.1629, allocations: 94.88 kB / 0.7081 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.1631, allocations: 101.2 kB / 0.7082 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1631, allocations: 8 kB / 0.7082 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1632, allocations: 0 / 0.7082 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.1632, allocations: 7.922 kB / 0.7082 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002106/0.1653, allocations: 1.458 MB / 0.7097 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1653, allocations: 0 / 0.7097 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.1658, allocations: 107.8 kB / 0.7098 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.635e-06/0.1659, allocations: 7.938 kB / 0.7098 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.448e-05/0.1659, allocations: 15.98 kB / 0.7098 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1659, allocations: 0 / 0.7098 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1659, allocations: 0 / 0.7098 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.1676, allocations: 0.9744 MB / 0.7107 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.1678, allocations: 231.6 kB / 0.711 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.1679, allocations: 12 kB / 0.711 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.1684, allocations: 39.97 kB / 0.711 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.273e-05/0.1685, allocations: 40.5 kB / 0.7111 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.779e-05/0.1685, allocations: 19.94 kB / 0.7111 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005905/0.1691, allocations: 0.5146 MB / 0.7116 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1691, allocations: 0 / 0.7116 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006538/0.1698, allocations: 275.1 kB / 0.7118 GB, free: 3.203 MB / 0.4981 GB 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.001972/0.1718, allocations: 1.543 MB / 0.7133 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001559/0.1733, allocations: 0.8082 MB / 0.7141 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1734, allocations: 0 / 0.7141 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.1739, allocations: 271.1 kB / 0.7144 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001164/0.175, allocations: 251.8 kB / 0.7146 GB, free: 324 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009977/0.185, allocations: 7.336 MB / 0.7218 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/0.1856, allocations: 0.9901 MB / 0.7228 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004901/0.1861, allocations: 126.6 kB / 0.7229 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.1865, allocations: 351.3 kB / 0.7232 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.1865, allocations: 0 / 0.7232 GB, free: 7.195 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.2155, allocations: 16.39 MB / 0.7392 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.2157, allocations: 225.2 kB / 0.7394 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.275, allocations: 4 kB / 0.7394 GB, free: 6.805 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_Continuous_Validation_LimPIDReset.fmu > BuildingSystems_BuildingSystems.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)