Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6734/0.6734, allocations: 117.9 MB / 133.9 MB, free: 4.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009485/0.0009485, allocations: 187.5 kB / 161.7 MB, free: 2.738 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.839/1.839, allocations: 205.4 MB / 394.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007564/0.0007563, allocations: 106.8 kB / 470.1 MB, free: 12.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004037/0.0004036, allocations: 19.92 kB / 0.5423 GB, free: 6.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3827, allocations: 74.53 MB / 0.6151 GB, free: 54.13 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1357/0.5184, allocations: 108.9 MB / 0.7215 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.5187, allocations: 83.94 kB / 0.7215 GB, free: 8.992 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.03342/0.5521, allocations: 13.2 MB / 0.7344 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5522, allocations: 0 / 0.7344 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.523e-05/0.5522, allocations: 20.12 kB / 0.7345 GB, free: 11.73 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002277/0.5545, allocations: 0.9698 MB / 0.7354 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.5546, allocations: 8.031 kB / 0.7354 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.5549, allocations: 84 kB / 0.7355 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.5559, allocations: 0.5612 MB / 0.736 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.864e-05/0.5559, allocations: 45.69 kB / 0.7361 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.5561, allocations: 68.36 kB / 0.7361 GB, free: 9.902 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.5574, allocations: 0.6644 MB / 0.7368 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.433e-05/0.5575, allocations: 7.938 kB / 0.7368 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.65e-05/0.5576, allocations: 24 kB / 0.7368 GB, free: 9.176 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.5576, allocations: 16 kB / 0.7368 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.5588, allocations: 0.5204 MB / 0.7373 GB, free: 8.637 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003666/0.5625, allocations: 2.13 MB / 0.7394 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00109/0.5636, allocations: 0.526 MB / 0.7399 GB, free: 5.914 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004864/0.5641, allocations: 262.1 kB / 0.7402 GB, free: 5.656 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.5641, allocations: 8.438 kB / 0.7402 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006933/0.5648, allocations: 309.2 kB / 0.7405 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=50): time 2.995e-06/0.5648, allocations: 0 / 0.7405 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of matching and sorting (n=50): time 0.001511/0.5664, allocations: 0.7053 MB / 0.7412 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/0.5665, allocations: 162.7 kB / 0.7413 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005697/0.5671, allocations: 462.1 kB / 0.7418 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.424e-05/0.5671, allocations: 29.7 kB / 0.7418 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000291/0.5674, allocations: 329.1 kB / 0.7421 GB, free: 3.602 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.5676, allocations: 173.5 kB / 0.7423 GB, free: 3.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.5676, allocations: 8 kB / 0.7423 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.5678, allocations: 366.8 kB / 0.7426 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004605/0.5683, allocations: 205 kB / 0.7428 GB, free: 2.855 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/0.5689, allocations: 311.5 kB / 0.7431 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009456/0.5698, allocations: 0.5061 MB / 0.7436 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5698, allocations: 0 / 0.7436 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001155/0.571, allocations: 0.6364 MB / 0.7443 GB, free: 1.336 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.5711, allocations: 164 kB / 0.7444 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.5712, allocations: 4 kB / 0.7444 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.5712, allocations: 7.984 kB / 0.7444 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004843/0.5717, allocations: 119.8 kB / 0.7445 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.5717, allocations: 8 kB / 0.7445 GB, free: 1.008 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004304/0.5721, allocations: 75.64 kB / 0.7446 GB, free: 0.9336 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.095e-05/0.5722, allocations: 23.94 kB / 0.7446 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.5722, allocations: 8 kB / 0.7446 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008919/0.5731, allocations: 0.4911 MB / 0.7451 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5731, allocations: 3.984 kB / 0.7451 GB, free: 412 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.5731, allocations: 12.12 kB / 0.7451 GB, free: 400 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.5736, allocations: 107.8 kB / 0.7452 GB, free: 292 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.5736, allocations: 4 kB / 0.7452 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003786/0.574, allocations: 71.5 kB / 0.7453 GB, free: 216 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.574, allocations: 24 kB / 0.7453 GB, free: 192 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (64): * Single equations (assignments): 63 * 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.3005/0.8745, allocations: 284.3 kB / 0.7456 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.8747, allocations: 59.62 kB / 0.7457 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.8749, allocations: 67.27 kB / 0.7457 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.8749, allocations: 6.844 kB / 0.7457 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.8749, allocations: 1.125 kB / 0.7457 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.8749, allocations: 2.625 kB / 0.7457 GB, free: 117.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002353/0.8773, allocations: 1.318 MB / 0.747 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.8773, allocations: 2.844 kB / 0.747 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000542/0.8778, allocations: 106.1 kB / 0.7471 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.8779, allocations: 6 kB / 0.7471 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.8779, allocations: 13.89 kB / 0.7471 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.8779, allocations: 1.531 kB / 0.7471 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.8779, allocations: 0.6562 kB / 0.7471 GB, free: 117.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.88, allocations: 0.8915 MB / 0.748 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.8802, allocations: 187.9 kB / 0.7482 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.052e-05/0.8803, allocations: 11.69 kB / 0.7482 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005611/0.8809, allocations: 50.5 kB / 0.7483 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.8811, allocations: 41.11 kB / 0.7483 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.111e-05/0.8811, allocations: 15.83 kB / 0.7483 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006418/0.8818, allocations: 316.4 kB / 0.7486 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.463e-06/0.8818, allocations: 0.75 kB / 0.7486 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001051/0.8829, allocations: 269.8 kB / 0.7489 GB, free: 117.1 MB / 0.5105 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.conPID.trigger,$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 (50): * Single equations (assignments): 48 * 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.0002265/0.8831, allocations: 127.4 kB / 0.749 GB, free: 117 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.8857, allocations: 0.8556 MB / 0.7498 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.8857, allocations: 0 / 0.7498 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008523/0.8866, allocations: 259.4 kB / 0.7501 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.8879, allocations: 152.8 kB / 0.7502 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004754/0.8927, allocations: 1.845 MB / 0.752 GB, free: 116.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.8933, allocations: 0.9018 MB / 0.7529 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006077/0.8939, allocations: 71.08 kB / 0.753 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001884/0.8941, allocations: 42.8 kB / 0.753 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of SimCode: time 6.61e-07/0.8941, allocations: 0 / 0.753 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.02363/0.9178, allocations: 6.933 MB / 0.7598 GB, free: 115 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)