Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001249/0.001249, allocations: 106.5 kB / 16.41 MB, free: 6.5 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.001223/0.001223, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.18 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.8122/0.8122, allocations: 143 MB / 434.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001126/0.001127, allocations: 63.44 kB / 0.5962 GB, free: 12.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1247, allocations: 82.03 MB / 0.6763 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset): time 0.005306/0.13, allocations: 4.328 MB / 0.6805 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003105/0.1331, allocations: 1.601 MB / 0.6821 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006835/0.1339, allocations: 31.88 kB / 0.6821 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004714/0.1343, allocations: 166.1 kB / 0.6822 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008288/0.1352, allocations: 226.1 kB / 0.6825 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1366, allocations: 0.6686 MB / 0.6831 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001327/0.1379, allocations: 1.218 MB / 0.6843 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007397/0.1386, allocations: 0.504 MB / 0.6848 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006164/0.1393, allocations: 481.9 kB / 0.6853 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005071/0.1398, allocations: 457.5 kB / 0.6857 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001961/0.14, allocations: 104 kB / 0.6858 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1401, allocations: 100 kB / 0.6859 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.1403, allocations: 235.1 kB / 0.6861 GB, free: 280 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.1408, allocations: 493 kB / 0.6866 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009535/0.1417, allocations: 1.195 MB / 0.6877 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1417, allocations: 0 / 0.6877 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.565e-06/0.1418, allocations: 0 / 0.6877 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.1418, allocations: 3.938 kB / 0.6877 GB, free: 14.59 MB / 0.5294 GB 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.002077/0.1439, allocations: 1.403 MB / 0.6891 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.1439, allocations: 12.03 kB / 0.6891 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001668/0.1441, allocations: 123.4 kB / 0.6892 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.1453, allocations: 0.7548 MB / 0.69 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.35e-05/0.1453, allocations: 92.2 kB / 0.6901 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.524e-05/0.1454, allocations: 64.38 kB / 0.6901 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.1465, allocations: 0.7329 MB / 0.6908 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1466, allocations: 0 / 0.6908 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.887e-05/0.1466, allocations: 31.98 kB / 0.6909 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.1467, allocations: 16 kB / 0.6909 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009832/0.1476, allocations: 0.5165 MB / 0.6914 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002837/0.1505, allocations: 2.247 MB / 0.6936 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.1517, allocations: 0.6289 MB / 0.6942 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/0.1522, allocations: 276 kB / 0.6945 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.1523, allocations: 8.547 kB / 0.6945 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005738/0.1528, allocations: 323.1 kB / 0.6948 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=60): time 1.994e-06/0.1529, allocations: 0 / 0.6948 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of matching and sorting (n=60): time 0.001452/0.1543, allocations: 0.7478 MB / 0.6955 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.1544, allocations: 93.66 kB / 0.6956 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/0.1552, allocations: 0.7516 MB / 0.6963 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.1552, allocations: 37.7 kB / 0.6964 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002825/0.1555, allocations: 436.5 kB / 0.6968 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.1557, allocations: 213 kB / 0.697 GB, free: 4.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.1558, allocations: 110.3 kB / 0.6971 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.404e-05/0.1559, allocations: 326 kB / 0.6974 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/0.1563, allocations: 207.4 kB / 0.6976 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.1568, allocations: 304.5 kB / 0.6979 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008642/0.1577, allocations: 0.5151 MB / 0.6984 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.1577, allocations: 0 / 0.6984 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001113/0.1588, allocations: 0.654 MB / 0.699 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1588, allocations: 8 kB / 0.699 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.1589, allocations: 4 kB / 0.6991 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1589, allocations: 4 kB / 0.6991 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.1595, allocations: 143.8 kB / 0.6992 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.1595, allocations: 11.94 kB / 0.6992 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003928/0.1599, allocations: 75.53 kB / 0.6993 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.696e-05/0.16, allocations: 20 kB / 0.6993 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005647/0.1605, allocations: 361.4 kB / 0.6996 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004314/0.161, allocations: 296.3 kB / 0.6999 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000785/0.1618, allocations: 491.7 kB / 0.7004 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/0.1618, allocations: 4 kB / 0.7004 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001011/0.1628, allocations: 0.6266 MB / 0.701 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.1628, allocations: 4 kB / 0.701 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.1628, allocations: 4 kB / 0.701 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/0.1628, allocations: 4 kB / 0.701 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005611/0.1634, allocations: 148 kB / 0.7012 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1634, allocations: 7.938 kB / 0.7012 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.1638, allocations: 63.45 kB / 0.7012 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.1638, allocations: 20 kB / 0.7012 GB, free: 328 kB / 0.5294 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.0001567/0.164, allocations: 217.5 kB / 0.7015 GB, free: 104 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.1641, allocations: 90.88 kB / 0.7015 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001939/0.1643, allocations: 105.2 kB / 0.7016 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.1643, allocations: 11.94 kB / 0.7017 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.1643, allocations: 3.938 kB / 0.7017 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1643, allocations: 3.984 kB / 0.7017 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.1663, allocations: 1.435 MB / 0.7031 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1663, allocations: 0 / 0.7031 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.1668, allocations: 107.8 kB / 0.7032 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1669, allocations: 0 / 0.7032 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.699e-05/0.1669, allocations: 15.98 kB / 0.7032 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.1669, allocations: 4 kB / 0.7032 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1669, allocations: 0 / 0.7032 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.1684, allocations: 0.9634 MB / 0.7041 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.1687, allocations: 219.7 kB / 0.7043 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.922e-05/0.1688, allocations: 19.98 kB / 0.7044 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.1692, allocations: 31.97 kB / 0.7044 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.126e-05/0.1693, allocations: 36.52 kB / 0.7044 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.1693, allocations: 19.98 kB / 0.7044 GB, free: 12.95 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005447/0.1699, allocations: 0.5185 MB / 0.7049 GB, free: 12.44 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1699, allocations: 0 / 0.7049 GB, free: 12.44 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006296/0.1705, allocations: 271.1 kB / 0.7052 GB, free: 12.17 MB / 0.545 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.0001441/0.1707, allocations: 115.2 kB / 0.7053 GB, free: 12.05 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001398/0.1721, allocations: 0.8037 MB / 0.7061 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1721, allocations: 0 / 0.7061 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.1726, allocations: 267.1 kB / 0.7064 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.1736, allocations: 277.8 kB / 0.7066 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.1758, allocations: 1.586 MB / 0.7082 GB, free: 9.105 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.1763, allocations: 0.9937 MB / 0.7091 GB, free: 8.086 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.1765, allocations: 67.42 kB / 0.7092 GB, free: 8.02 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.1765, allocations: 4 kB / 0.7092 GB, free: 8.016 MB / 0.545 GB Notification: Performance of Templates: time 0.01306/0.1896, allocations: 11.03 MB / 0.72 GB, free: 13.04 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)