Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001424/0.001424, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.066/1.066, allocations: 143.3 MB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.000519, allocations: 8 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 83.4 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID): time 0.004283/0.224, allocations: 3.133 MB / 0.6003 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003385/0.2274, allocations: 1.2 MB / 0.6015 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009546/0.2284, allocations: 23.88 kB / 0.6015 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.2287, allocations: 47.39 kB / 0.6016 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001222/0.23, allocations: 195.3 kB / 0.6017 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.2314, allocations: 469.6 kB / 0.6022 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.2329, allocations: 0.5944 MB / 0.6028 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006489/0.2335, allocations: 259.1 kB / 0.603 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007102/0.2343, allocations: 298.6 kB / 0.6033 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005597/0.2348, allocations: 262.4 kB / 0.6036 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.235, allocations: 20 kB / 0.6036 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.2351, allocations: 24 kB / 0.6036 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.2352, allocations: 103.4 kB / 0.6037 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.2354, allocations: 137.3 kB / 0.6038 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006767/0.2361, allocations: 0.647 MB / 0.6045 GB, free: 424 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.2361, allocations: 0 / 0.6045 GB, free: 424 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2361, allocations: 0 / 0.6045 GB, free: 424 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.065e-05/0.2361, allocations: 4 kB / 0.6045 GB, free: 420 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.36/0.5962, allocations: 1.06 MB / 0.6055 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.5962, allocations: 8.188 kB / 0.6055 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.5964, allocations: 94.12 kB / 0.6056 GB, free: 36.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008527/0.5972, allocations: 0.5715 MB / 0.6062 GB, free: 35.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.851e-05/0.5974, allocations: 102.7 kB / 0.6063 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.653e-05/0.5974, allocations: 50.78 kB / 0.6063 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/0.5983, allocations: 0.6103 MB / 0.6069 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.5984, allocations: 3.844 kB / 0.6069 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.762e-05/0.5984, allocations: 22.31 kB / 0.6069 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.5984, allocations: 13.81 kB / 0.6069 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000832/0.5993, allocations: 440.8 kB / 0.6074 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002257/0.6015, allocations: 2.129 MB / 0.6094 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.6027, allocations: 0.523 MB / 0.6099 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.6027, allocations: 16.59 kB / 0.61 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000602/0.6033, allocations: 286.5 kB / 0.6102 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.6033, allocations: 0 / 0.6102 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001282/0.6046, allocations: 0.6403 MB / 0.6109 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.6047, allocations: 86.8 kB / 0.6109 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005654/0.6053, allocations: 0.6122 MB / 0.6115 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.6053, allocations: 38.05 kB / 0.6116 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.6055, allocations: 352.3 kB / 0.6119 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/0.6056, allocations: 157 kB / 0.6121 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.6056, allocations: 10.31 kB / 0.6121 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.672e-05/0.6057, allocations: 322.2 kB / 0.6124 GB, free: 33.58 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.6061, allocations: 182.6 kB / 0.6126 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004657/0.6066, allocations: 287.2 kB / 0.6128 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.607, allocations: 233 kB / 0.6131 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.607, allocations: 0 / 0.6131 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001035/0.6081, allocations: 0.6235 MB / 0.6137 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/0.6083, allocations: 0.9864 MB / 0.6146 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6083, allocations: 3.188 kB / 0.6146 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6083, allocations: 5.938 kB / 0.6146 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004454/0.6088, allocations: 113.1 kB / 0.6147 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.6088, allocations: 12.45 kB / 0.6148 GB, free: 32.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003613/0.6092, allocations: 73.28 kB / 0.6148 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.6092, allocations: 16.22 kB / 0.6148 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/0.6092, allocations: 5.969 kB / 0.6148 GB, free: 32.25 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008372/0.6101, allocations: 0.5055 MB / 0.6153 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.6101, allocations: 3.281 kB / 0.6153 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.989e-06/0.6101, allocations: 5.719 kB / 0.6153 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.6105, allocations: 108.3 kB / 0.6154 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.6105, allocations: 2.844 kB / 0.6155 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.6108, allocations: 61.75 kB / 0.6155 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.6109, allocations: 27.5 kB / 0.6155 GB, free: 32.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.6111, allocations: 270 kB / 0.6158 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.173e-05/0.6112, allocations: 71.91 kB / 0.6159 GB, free: 31.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.6113, allocations: 80.53 kB / 0.6159 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.6113, allocations: 5.25 kB / 0.6159 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.6114, allocations: 3.812 kB / 0.6159 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.6114, allocations: 7.281 kB / 0.616 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/0.6119, allocations: 0.6207 MB / 0.6166 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.6119, allocations: 4 kB / 0.6166 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.6124, allocations: 84.92 kB / 0.6166 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.6124, allocations: 3.906 kB / 0.6167 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.6124, allocations: 8.688 kB / 0.6167 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.6124, allocations: 0 / 0.6167 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6124, allocations: 6.266 kB / 0.6167 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001265/0.6137, allocations: 0.7505 MB / 0.6174 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.6139, allocations: 194.4 kB / 0.6176 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.614, allocations: 10.59 kB / 0.6176 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003733/0.6143, allocations: 44.34 kB / 0.6176 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.6144, allocations: 29.77 kB / 0.6177 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/0.6145, allocations: 19.66 kB / 0.6177 GB, free: 31.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003711/0.6148, allocations: 429.2 kB / 0.6181 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6148, allocations: 0 / 0.6181 GB, free: 31.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005377/0.6154, allocations: 213.2 kB / 0.6183 GB, free: 31.33 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001238/0.6155, allocations: 116.2 kB / 0.6184 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001323/0.6169, allocations: 0.8115 MB / 0.6192 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6169, allocations: 2.719 kB / 0.6192 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000413/0.6173, allocations: 226 kB / 0.6194 GB, free: 31.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000735/0.618, allocations: 180.3 kB / 0.6196 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.6198, allocations: 1.382 MB / 0.6209 GB, free: 30.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.6201, allocations: 0.9286 MB / 0.6218 GB, free: 29.63 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003414/0.6204, allocations: 98.34 kB / 0.6219 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.6205, allocations: 48.53 kB / 0.622 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.6205, allocations: 0 / 0.622 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of Templates: time 0.01133/0.6319, allocations: 6.884 MB / 0.6287 GB, free: 29.23 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: