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.001561/0.001561, allocations: 181 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.497/0.497, allocations: 92 MB / 108.5 MB, free: 13.07 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.7/1.7, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009908/0.0009907, allocations: 96.27 kB / 427.4 MB, free: 3.941 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.000418, allocations: 11.98 kB / 0.4982 GB, free: 42.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2103, allocations: 72.31 MB / 0.5689 GB, free: 1.938 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6649/0.8753, allocations: 109.5 MB / 0.6758 GB, free: 10.95 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.8756, allocations: 83.95 kB / 0.6759 GB, free: 10.86 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04908/0.9248, allocations: 16.94 MB / 0.6924 GB, free: 9.902 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.24e-06/0.9248, allocations: 0 / 0.6924 GB, free: 9.902 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001253/0.925, allocations: 19.94 kB / 0.6924 GB, free: 9.883 MB / 490.7 MB 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.003005/0.928, allocations: 1.067 MB / 0.6935 GB, free: 8.758 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/0.928, allocations: 8.031 kB / 0.6935 GB, free: 8.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005438/0.9286, allocations: 98.88 kB / 0.6936 GB, free: 8.652 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.9304, allocations: 0.5746 MB / 0.6941 GB, free: 8.031 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.9306, allocations: 100.4 kB / 0.6942 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002036/0.9308, allocations: 59.86 kB / 0.6943 GB, free: 7.863 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.9325, allocations: 0.6564 MB / 0.6949 GB, free: 7.156 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.9326, allocations: 4 kB / 0.6949 GB, free: 7.152 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.9327, allocations: 23.98 kB / 0.695 GB, free: 7.129 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.9327, allocations: 12 kB / 0.695 GB, free: 7.117 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.934, allocations: 499.6 kB / 0.6955 GB, free: 6.633 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.9375, allocations: 2.211 MB / 0.6976 GB, free: 4.332 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.9389, allocations: 0.5983 MB / 0.6982 GB, free: 3.719 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.536e-05/0.939, allocations: 11.97 kB / 0.6982 GB, free: 3.707 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007971/0.9398, allocations: 322.8 kB / 0.6985 GB, free: 3.379 MB / 490.7 MB Notification: Performance of pre-optimization done (n=45): time 3.617e-06/0.9398, allocations: 0 / 0.6985 GB, free: 3.379 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.001688/0.9415, allocations: 0.7193 MB / 0.6992 GB, free: 2.652 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.9416, allocations: 191.7 kB / 0.6994 GB, free: 2.422 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.9424, allocations: 0.5388 MB / 0.6999 GB, free: 1.875 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.557e-05/0.9424, allocations: 37.7 kB / 0.7 GB, free: 1.832 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.9427, allocations: 352.8 kB / 0.7003 GB, free: 1.484 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001435/0.9429, allocations: 153.8 kB / 0.7004 GB, free: 1.332 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.689e-05/0.9429, allocations: 8 kB / 0.7005 GB, free: 1.324 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.9431, allocations: 338 kB / 0.7008 GB, free: 0.9883 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.9435, allocations: 205 kB / 0.701 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.9441, allocations: 343.7 kB / 0.7013 GB, free: 416 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005281/0.9447, allocations: 265.3 kB / 0.7016 GB, free: 144 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.9447, allocations: 0 / 0.7016 GB, free: 144 kB / 490.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001309/0.946, allocations: 0.6646 MB / 0.7022 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005196/0.9465, allocations: 0.9869 MB / 0.7032 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.9465, allocations: 5.094 kB / 0.7032 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/0.9466, allocations: 8 kB / 0.7032 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005947/0.9472, allocations: 119.8 kB / 0.7033 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/0.9472, allocations: 11.95 kB / 0.7033 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.9477, allocations: 87.39 kB / 0.7034 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.9478, allocations: 20 kB / 0.7034 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.846e-06/0.9478, allocations: 4 kB / 0.7034 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001066/0.9489, allocations: 0.5467 MB / 0.7039 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.9489, allocations: 7.938 kB / 0.704 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.9489, allocations: 7.984 kB / 0.704 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.9493, allocations: 115.9 kB / 0.7041 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.9494, allocations: 7.984 kB / 0.7041 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.9498, allocations: 79.81 kB / 0.7042 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.9498, allocations: 19.98 kB / 0.7042 GB, free: 13.36 MB / 0.4948 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.0004077/0.9502, allocations: 275.7 kB / 0.7044 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.9504, allocations: 82.98 kB / 0.7045 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001624/0.9505, allocations: 79.22 kB / 0.7046 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.9506, allocations: 8 kB / 0.7046 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.9506, allocations: 0 / 0.7046 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.9506, allocations: 3.984 kB / 0.7046 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000838/0.9514, allocations: 0.653 MB / 0.7052 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.9514, allocations: 3.953 kB / 0.7052 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005008/0.952, allocations: 95.88 kB / 0.7053 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.952, allocations: 8 kB / 0.7053 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.952, allocations: 8 kB / 0.7054 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.732e-06/0.952, allocations: 7.938 kB / 0.7054 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.952, allocations: 0 / 0.7054 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.9538, allocations: 0.8268 MB / 0.7062 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003395/0.9542, allocations: 204 kB / 0.7064 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.9543, allocations: 12 kB / 0.7064 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004931/0.9548, allocations: 63.94 kB / 0.7064 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.955, allocations: 27.95 kB / 0.7065 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.696e-05/0.955, allocations: 19.98 kB / 0.7065 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000619/0.9556, allocations: 431 kB / 0.7069 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.6e-07/0.9557, allocations: 0 / 0.7069 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008292/0.9565, allocations: 227.4 kB / 0.7071 GB, free: 10.26 MB / 0.4948 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.0002858/0.9568, allocations: 131 kB / 0.7072 GB, free: 10.12 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001929/0.9587, allocations: 0.8871 MB / 0.7081 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9587, allocations: 0 / 0.7081 GB, free: 9.211 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005805/0.9593, allocations: 259.6 kB / 0.7083 GB, free: 8.957 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009056/0.9602, allocations: 170.2 kB / 0.7085 GB, free: 8.793 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002921/0.9632, allocations: 1.396 MB / 0.7099 GB, free: 7.363 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.9639, allocations: 0.9299 MB / 0.7108 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005204/0.9644, allocations: 93.03 kB / 0.7109 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.9646, allocations: 47.42 kB / 0.7109 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of SimCode: time 2.2e-07/0.9646, allocations: 0 / 0.7109 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.01736/0.9819, allocations: 7.726 MB / 0.7185 GB, free: 14.64 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)