Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") translateModel(Buildings.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.18/2.18, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 178 kB / 326.2 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.389/2.389, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009826/0.0009824, allocations: 93.41 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007347/0.0007351, allocations: 16.34 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2271, allocations: 106.3 MB / 0.8995 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2365/0.4637, allocations: 139.7 MB / 1.036 GB, free: 5.684 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003285/0.4641, allocations: 83.95 kB / 1.036 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.08056/0.5447, allocations: 17.02 MB / 1.053 GB, free: 4.527 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.574e-06/0.5447, allocations: 3.938 kB / 1.053 GB, free: 4.523 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.368e-05/0.5448, allocations: 16 kB / 1.053 GB, free: 4.508 MB / 0.698 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.003354/0.5482, allocations: 1.068 MB / 1.054 GB, free: 3.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5483, allocations: 12.03 kB / 1.054 GB, free: 3.367 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003309/0.5486, allocations: 95.81 kB / 1.054 GB, free: 3.273 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001703/0.5503, allocations: 0.5838 MB / 1.054 GB, free: 2.652 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001898/0.5505, allocations: 101 kB / 1.054 GB, free: 2.543 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001451/0.5507, allocations: 56.31 kB / 1.054 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00203/0.5527, allocations: 0.6646 MB / 1.055 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.5528, allocations: 0 / 1.055 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.5529, allocations: 24 kB / 1.055 GB, free: 1.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.553, allocations: 12 kB / 1.055 GB, free: 1.738 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.5549, allocations: 0.4918 MB / 1.056 GB, free: 1.246 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.577/1.132, allocations: 2.207 MB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002343/1.134, allocations: 0.5945 MB / 1.058 GB, free: 145.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008256/1.135, allocations: 227.9 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.812e-05/1.135, allocations: 8.781 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001147/1.136, allocations: 322.8 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=45): time 4.068e-06/1.137, allocations: 2.844 kB / 1.059 GB, free: 145.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=45): time 0.003821/1.14, allocations: 0.7122 MB / 1.06 GB, free: 145.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.912e-05/1.14, allocations: 192.3 kB / 1.06 GB, free: 145.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/1.142, allocations: 0.6209 MB / 1.06 GB, free: 145 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001531/1.142, allocations: 35.86 kB / 1.06 GB, free: 145 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003219/1.142, allocations: 359 kB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/1.142, allocations: 163.6 kB / 1.061 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.613e-05/1.142, allocations: 9.438 kB / 1.061 GB, free: 144.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/1.142, allocations: 332.3 kB / 1.061 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008197/1.143, allocations: 216.2 kB / 1.061 GB, free: 144.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008987/1.144, allocations: 341.6 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008727/1.145, allocations: 262.8 kB / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/1.145, allocations: 0 / 1.062 GB, free: 144.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002143/1.147, allocations: 0.6626 MB / 1.063 GB, free: 144.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/1.147, allocations: 186.7 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/1.147, allocations: 3.594 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/1.148, allocations: 2.5 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009634/1.148, allocations: 124.2 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/1.149, allocations: 6.016 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/1.15, allocations: 87.84 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/1.15, allocations: 23.12 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/1.15, allocations: 2.844 kB / 1.063 GB, free: 144 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002037/1.152, allocations: 0.5473 MB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.152, allocations: 2.375 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/1.152, allocations: 6.344 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000926/1.153, allocations: 119.8 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/1.153, allocations: 5.25 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/1.154, allocations: 77.91 kB / 1.064 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.154, allocations: 17.91 kB / 1.064 GB, free: 143.9 MB / 0.698 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.000634/1.155, allocations: 285.1 kB / 1.064 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002465/1.155, allocations: 78.81 kB / 1.064 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002286/1.155, allocations: 79.69 kB / 1.064 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/1.155, allocations: 5.375 kB / 1.064 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/1.155, allocations: 0 / 1.064 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/1.155, allocations: 6.516 kB / 1.064 GB, free: 143.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/1.157, allocations: 0.6464 MB / 1.065 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.157, allocations: 0 / 1.065 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/1.158, allocations: 95.73 kB / 1.065 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/1.158, allocations: 3.281 kB / 1.065 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.915e-05/1.158, allocations: 10.73 kB / 1.065 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/1.158, allocations: 7.828 kB / 1.065 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.158, allocations: 0.5156 kB / 1.065 GB, free: 143.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003146/1.161, allocations: 0.8365 MB / 1.066 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/1.162, allocations: 201 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/1.162, allocations: 13.56 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009855/1.163, allocations: 64.33 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/1.163, allocations: 31.41 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/1.163, allocations: 21.36 kB / 1.066 GB, free: 143.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000959/1.164, allocations: 438.8 kB / 1.067 GB, free: 143.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.41e-07/1.164, allocations: 0 / 1.067 GB, free: 143.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001258/1.165, allocations: 236.7 kB / 1.067 GB, free: 143.1 MB / 0.698 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.0002614/1.166, allocations: 114.5 kB / 1.067 GB, free: 143 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00339/1.169, allocations: 0.884 MB / 1.068 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/1.169, allocations: 0.7812 kB / 1.068 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.17, allocations: 255.4 kB / 1.068 GB, free: 142.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00185/1.172, allocations: 196.5 kB / 1.068 GB, free: 142.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004356/1.176, allocations: 1.401 MB / 1.07 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006075/1.177, allocations: 0.9161 MB / 1.07 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000916/1.178, allocations: 95.47 kB / 1.071 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002812/1.178, allocations: 49.81 kB / 1.071 GB, free: 141.4 MB / 0.698 GB Notification: Performance of SimCode: time 2.465e-06/1.178, allocations: 0 / 1.071 GB, free: 141.4 MB / 0.698 GB Notification: Performance of Templates: time 0.0261/1.204, allocations: 7.762 MB / 1.078 GB, free: 141 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.makefile (rm -f Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.sim & ./Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.Continuous.Examples.LimPID.pipe 2>&1)