Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4752/0.4752, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 221.3 MB / 348.3 MB, free: 444 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008481, allocations: 103.4 kB / 421.2 MB, free: 5.453 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.677e-05, allocations: 4 kB / 0.4896 GB, free: 5.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3745, allocations: 72.3 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.5095, allocations: 109.5 MB / 0.6671 GB, free: 10.83 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.5098, allocations: 72.47 kB / 0.6672 GB, free: 10.76 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04601/0.5559, allocations: 16.91 MB / 0.6837 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5559, allocations: 0 / 0.6837 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.946e-05/0.556, allocations: 16 kB / 0.6837 GB, free: 9.809 MB / 0.4948 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.001563/0.5575, allocations: 0.9431 MB / 0.6846 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.5576, allocations: 17.95 kB / 0.6846 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/0.5578, allocations: 90.88 kB / 0.6847 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/0.5588, allocations: 0.5784 MB / 0.6853 GB, free: 8.086 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.5589, allocations: 100.4 kB / 0.6854 GB, free: 7.977 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.25e-05/0.559, allocations: 59.95 kB / 0.6854 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009249/0.5599, allocations: 0.5748 MB / 0.686 GB, free: 7.293 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.56, allocations: 7.938 kB / 0.686 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/0.56, allocations: 20 kB / 0.686 GB, free: 7.266 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.56, allocations: 12 kB / 0.686 GB, free: 7.254 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006554/0.5607, allocations: 375.8 kB / 0.6864 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002819/0.5635, allocations: 2.211 MB / 0.6886 GB, free: 4.594 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008641/0.5644, allocations: 452.8 kB / 0.689 GB, free: 4.137 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.5647, allocations: 177.5 kB / 0.6892 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/0.5648, allocations: 8 kB / 0.6892 GB, free: 3.953 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004689/0.5652, allocations: 255.1 kB / 0.6894 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 2.926e-06/0.5653, allocations: 0 / 0.6894 GB, free: 3.691 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45): time 0.0007948/0.5661, allocations: 420.7 kB / 0.6898 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001229/0.5662, allocations: 191.9 kB / 0.69 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/0.5669, allocations: 0.529 MB / 0.6905 GB, free: 2.508 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.5669, allocations: 37.7 kB / 0.6905 GB, free: 2.465 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002631/0.5672, allocations: 364.9 kB / 0.6909 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.5673, allocations: 153.7 kB / 0.691 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.5673, allocations: 15.94 kB / 0.6911 GB, free: 1.938 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5675, allocations: 330 kB / 0.6914 GB, free: 1.609 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.5678, allocations: 145.1 kB / 0.6915 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/0.5681, allocations: 279.7 kB / 0.6918 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.5684, allocations: 203.3 kB / 0.692 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5684, allocations: 0 / 0.692 GB, free: 0.9414 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008304/0.5693, allocations: 0.5438 MB / 0.6925 GB, free: 396 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004055/0.5697, allocations: 0.9907 MB / 0.6935 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.5697, allocations: 0 / 0.6935 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.5697, allocations: 7.938 kB / 0.6935 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005013/0.5702, allocations: 127.9 kB / 0.6936 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.5703, allocations: 14.16 kB / 0.6936 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.5708, allocations: 83.48 kB / 0.6937 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.354e-05/0.5708, allocations: 16 kB / 0.6937 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.5708, allocations: 4 kB / 0.6937 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000721/0.5715, allocations: 465.5 kB / 0.6942 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.5716, allocations: 4 kB / 0.6942 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.102e-06/0.5716, allocations: 4 kB / 0.6942 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.572, allocations: 116.2 kB / 0.6943 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.572, allocations: 7.938 kB / 0.6943 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.5725, allocations: 75.55 kB / 0.6944 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.915e-05/0.5725, allocations: 16 kB / 0.6944 GB, free: 14.39 MB / 0.5105 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 () * 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.0001567/0.5727, allocations: 144.8 kB / 0.6945 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5728, allocations: 71.16 kB / 0.6946 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.573, allocations: 78.98 kB / 0.6946 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.573, allocations: 4 kB / 0.6947 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.573, allocations: 4 kB / 0.6947 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.573, allocations: 0 / 0.6947 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000756/0.5738, allocations: 0.6491 MB / 0.6953 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.5738, allocations: 3.953 kB / 0.6953 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00048/0.5743, allocations: 103.9 kB / 0.6954 GB, free: 13.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.5743, allocations: 3.938 kB / 0.6954 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.5744, allocations: 13.77 kB / 0.6954 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5744, allocations: 0 / 0.6954 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.5744, allocations: 4 kB / 0.6954 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.5755, allocations: 0.6495 MB / 0.696 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002908/0.5758, allocations: 204 kB / 0.6962 GB, free: 12.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.5759, allocations: 15.98 kB / 0.6963 GB, free: 12.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005123/0.5764, allocations: 60.14 kB / 0.6963 GB, free: 12.29 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.5765, allocations: 39.89 kB / 0.6964 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.5765, allocations: 23.98 kB / 0.6964 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005228/0.5771, allocations: 423.2 kB / 0.6968 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5771, allocations: 0 / 0.6968 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006834/0.5778, allocations: 239.2 kB / 0.697 GB, free: 11.59 MB / 0.5105 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) * 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.0002082/0.578, allocations: 116.8 kB / 0.6971 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001178/0.5792, allocations: 0.7466 MB / 0.6978 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.5792, allocations: 0 / 0.6978 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.5795, allocations: 195.6 kB / 0.698 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008876/0.5804, allocations: 172.1 kB / 0.6982 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.5821, allocations: 0.8846 MB / 0.6991 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.5826, allocations: 0.9352 MB / 0.7 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005997/0.5832, allocations: 139.6 kB / 0.7001 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.5833, allocations: 39.44 kB / 0.7001 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/0.5833, allocations: 0 / 0.7001 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of Templates: time 0.3106/0.894, allocations: 8.996 MB / 0.7089 GB, free: 134.7 MB / 0.5105 GB make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)