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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.0009696/0.0009696, allocations: 175.7 kB / 16.76 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4437/0.4437, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.309/1.309, allocations: 223.2 MB / 348.4 MB, free: 4.887 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.0008082/0.0008084, allocations: 111 kB / 420.2 MB, free: 9.609 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003719/0.0003719, allocations: 16 kB / 0.4901 GB, free: 7.973 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3817, allocations: 71.01 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.5187, allocations: 108.2 MB / 0.6651 GB, free: 1.316 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.519, allocations: 83.95 kB / 0.6651 GB, free: 1.234 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04427/0.5633, allocations: 16.93 MB / 0.6817 GB, free: 264 kB / 490.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.5634, allocations: 3.938 kB / 0.6817 GB, free: 260 kB / 490.7 MB Notification: Performance of Transformations before backend: time 6.579e-05/0.5634, allocations: 27.94 kB / 0.6817 GB, free: 232 kB / 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.002153/0.5656, allocations: 1.048 MB / 0.6827 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.5657, allocations: 8.031 kB / 0.6827 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001905/0.5659, allocations: 95.81 kB / 0.6828 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00111/0.567, allocations: 0.6143 MB / 0.6834 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/0.5671, allocations: 96.97 kB / 0.6835 GB, free: 14.26 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.129e-05/0.5672, allocations: 52.36 kB / 0.6836 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.5685, allocations: 0.6685 MB / 0.6842 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/0.5686, allocations: 4 kB / 0.6842 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/0.5686, allocations: 20 kB / 0.6842 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.5687, allocations: 12 kB / 0.6843 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.5697, allocations: 499.6 kB / 0.6847 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/0.5727, allocations: 2.207 MB / 0.6869 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.574, allocations: 0.5876 MB / 0.6875 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004597/0.5745, allocations: 244.6 kB / 0.6877 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.5745, allocations: 4 kB / 0.6877 GB, free: 9.824 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006968/0.5752, allocations: 325.9 kB / 0.688 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=45): time 3.086e-06/0.5753, allocations: 0 / 0.688 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45): time 0.001515/0.5768, allocations: 0.7206 MB / 0.6887 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.5769, allocations: 191.7 kB / 0.6889 GB, free: 8.535 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000708/0.5776, allocations: 0.61 MB / 0.6895 GB, free: 7.918 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.8e-05/0.5777, allocations: 33.7 kB / 0.6895 GB, free: 7.879 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000267/0.5779, allocations: 372.6 kB / 0.6899 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.5781, allocations: 153.8 kB / 0.69 GB, free: 7.355 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.5781, allocations: 16 kB / 0.69 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5782, allocations: 326 kB / 0.6904 GB, free: 7.016 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.5787, allocations: 213 kB / 0.6906 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000538/0.5793, allocations: 335.7 kB / 0.6909 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009355/0.5802, allocations: 0.5291 MB / 0.6914 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5802, allocations: 0 / 0.6914 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001212/0.5814, allocations: 0.6648 MB / 0.692 GB, free: 5.184 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.5816, allocations: 197 kB / 0.6922 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5816, allocations: 0 / 0.6922 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.5816, allocations: 4 kB / 0.6922 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004636/0.5821, allocations: 119.9 kB / 0.6923 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5821, allocations: 11.94 kB / 0.6924 GB, free: 4.816 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.5825, allocations: 84.58 kB / 0.6924 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.63e-05/0.5826, allocations: 16 kB / 0.6925 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.272e-06/0.5826, allocations: 4 kB / 0.6925 GB, free: 4.715 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009801/0.5836, allocations: 0.5583 MB / 0.693 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.5836, allocations: 4 kB / 0.693 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.5836, allocations: 4 kB / 0.693 GB, free: 4.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004155/0.584, allocations: 116.1 kB / 0.6931 GB, free: 4.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.584, allocations: 7.938 kB / 0.6931 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.5844, allocations: 79.44 kB / 0.6932 GB, free: 3.941 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.162e-05/0.5845, allocations: 16 kB / 0.6932 GB, free: 3.926 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.0003072/0.5848, allocations: 281.7 kB / 0.6935 GB, free: 3.641 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.1e-05/0.5849, allocations: 79 kB / 0.6936 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.585, allocations: 79.22 kB / 0.6936 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.585, allocations: 4 kB / 0.6936 GB, free: 3.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.585, allocations: 4.062 kB / 0.6936 GB, free: 3.477 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.5851, allocations: 3.984 kB / 0.6937 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006683/0.5857, allocations: 0.6453 MB / 0.6943 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5857, allocations: 0 / 0.6943 GB, free: 2.777 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004525/0.5862, allocations: 99.81 kB / 0.6944 GB, free: 2.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.5862, allocations: 4 kB / 0.6944 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.5862, allocations: 8 kB / 0.6944 GB, free: 2.668 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5863, allocations: 4 kB / 0.6944 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5863, allocations: 0 / 0.6944 GB, free: 2.664 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.5878, allocations: 0.8332 MB / 0.6952 GB, free: 1.812 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.588, allocations: 204.1 kB / 0.6954 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.007e-05/0.5881, allocations: 12 kB / 0.6954 GB, free: 1.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.5886, allocations: 67.88 kB / 0.6955 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.961e-05/0.5887, allocations: 31.95 kB / 0.6955 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.5887, allocations: 15.98 kB / 0.6955 GB, free: 1.469 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004709/0.5892, allocations: 435 kB / 0.6959 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5892, allocations: 4 kB / 0.6959 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006195/0.5898, allocations: 231.3 kB / 0.6962 GB, free: 0.8164 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.000171/0.59, allocations: 123.1 kB / 0.6963 GB, free: 0.6836 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001542/0.5915, allocations: 0.8867 MB / 0.6971 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5916, allocations: 0 / 0.6971 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000467/0.592, allocations: 260 kB / 0.6974 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008538/0.5929, allocations: 182.9 kB / 0.6976 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/0.595, allocations: 1.404 MB / 0.6989 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.5954, allocations: 0.9182 MB / 0.6998 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004117/0.5958, allocations: 93.02 kB / 0.6999 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.596, allocations: 43.44 kB / 0.7 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.596, allocations: 0 / 0.7 GB, free: 12.83 MB / 0.5105 GB Notification: Performance of Templates: time 0.01315/0.6091, allocations: 7.879 MB / 0.7077 GB, free: 5.047 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)