Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") translateModel(BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8136/0.8136, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001218/0.001218, allocations: 188.5 kB / 173.8 MB, free: 6.109 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 409 MB, free: 10.5 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.000891/0.0008911, allocations: 91.67 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 10.44 kB / 0.5603 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 76.76 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.6012, allocations: 110.8 MB / 0.7435 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.6015, allocations: 83.89 kB / 0.7435 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.05044/0.652, allocations: 17.79 MB / 0.7609 GB, free: 105 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555e-06/0.652, allocations: 0 / 0.7609 GB, free: 105 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001838/0.6522, allocations: 23.62 kB / 0.7609 GB, free: 105 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.003239/0.6555, allocations: 1.074 MB / 0.762 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.6555, allocations: 10.19 kB / 0.762 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.656, allocations: 97.11 kB / 0.7621 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.6577, allocations: 0.595 MB / 0.7627 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001584/0.6579, allocations: 104.4 kB / 0.7628 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.658, allocations: 50.31 kB / 0.7628 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.6597, allocations: 0.674 MB / 0.7635 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.6598, allocations: 0 / 0.7635 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.407e-05/0.6599, allocations: 23.5 kB / 0.7635 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.6599, allocations: 16.02 kB / 0.7635 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.6611, allocations: 0.4944 MB / 0.764 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003963/0.6651, allocations: 2.231 MB / 0.7662 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.6667, allocations: 0.6033 MB / 0.7668 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.954e-05/0.6668, allocations: 5.562 kB / 0.7668 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008505/0.6676, allocations: 318 kB / 0.7671 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 4.218e-06/0.6676, allocations: 4 kB / 0.7671 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.001917/0.6696, allocations: 0.7221 MB / 0.7678 GB, free: 101 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.6697, allocations: 190.3 kB / 0.768 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001011/0.6707, allocations: 0.5467 MB / 0.7685 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.833e-05/0.6708, allocations: 37.52 kB / 0.7685 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002844/0.6711, allocations: 375.2 kB / 0.7689 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.6712, allocations: 148.2 kB / 0.769 GB, free: 100 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.6713, allocations: 10.62 kB / 0.769 GB, free: 99.99 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/0.6713, allocations: 330.2 kB / 0.7694 GB, free: 99.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005818/0.6719, allocations: 212 kB / 0.7696 GB, free: 99.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007209/0.6727, allocations: 356.8 kB / 0.7699 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006956/0.6734, allocations: 256 kB / 0.7701 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.247e-06/0.6734, allocations: 1.188 kB / 0.7701 GB, free: 99.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001387/0.6748, allocations: 0.6662 MB / 0.7708 GB, free: 98.83 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002517/0.6751, allocations: 0.9958 MB / 0.7718 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6751, allocations: 3.688 kB / 0.7718 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.6751, allocations: 7.812 kB / 0.7718 GB, free: 97.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005003/0.6756, allocations: 117.2 kB / 0.7719 GB, free: 97.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.6756, allocations: 11.78 kB / 0.7719 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006221/0.6763, allocations: 83.31 kB / 0.772 GB, free: 97.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.6763, allocations: 19.47 kB / 0.772 GB, free: 97.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.6763, allocations: 3.938 kB / 0.772 GB, free: 97.69 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000832/0.6772, allocations: 0.4918 MB / 0.7725 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.6772, allocations: 3.875 kB / 0.7725 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.6772, allocations: 8.281 kB / 0.7725 GB, free: 97.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000398/0.6776, allocations: 100.9 kB / 0.7726 GB, free: 97.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.6776, allocations: 9.75 kB / 0.7726 GB, free: 97.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005452/0.6782, allocations: 68.91 kB / 0.7727 GB, free: 97.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.464e-05/0.6782, allocations: 21.8 kB / 0.7727 GB, free: 97.36 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 () * 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.0004539/0.6787, allocations: 277.7 kB / 0.773 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.6789, allocations: 78.95 kB / 0.773 GB, free: 97.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.6791, allocations: 81.89 kB / 0.7731 GB, free: 97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6791, allocations: 7.75 kB / 0.7731 GB, free: 97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.6791, allocations: 0 / 0.7731 GB, free: 97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.6791, allocations: 3.984 kB / 0.7731 GB, free: 97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007418/0.6799, allocations: 0.6452 MB / 0.7737 GB, free: 96.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6799, allocations: 0 / 0.7737 GB, free: 96.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004689/0.6804, allocations: 104.7 kB / 0.7738 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.6804, allocations: 3.906 kB / 0.7739 GB, free: 96.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.6804, allocations: 8 kB / 0.7739 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.6804, allocations: 3.938 kB / 0.7739 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6805, allocations: 0 / 0.7739 GB, free: 96.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.6819, allocations: 0.8347 MB / 0.7747 GB, free: 95.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002844/0.6822, allocations: 200.1 kB / 0.7749 GB, free: 95.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.6823, allocations: 19.94 kB / 0.7749 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/0.6829, allocations: 59.95 kB / 0.7749 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.683, allocations: 35.89 kB / 0.775 GB, free: 95.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-05/0.683, allocations: 15.98 kB / 0.775 GB, free: 95.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004834/0.6835, allocations: 439 kB / 0.7754 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6835, allocations: 0 / 0.7754 GB, free: 95.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007368/0.6842, allocations: 239.3 kB / 0.7756 GB, free: 94.95 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) * 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.0001839/0.6844, allocations: 118.9 kB / 0.7758 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001465/0.6859, allocations: 0.8551 MB / 0.7766 GB, free: 93.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6859, allocations: 4 kB / 0.7766 GB, free: 93.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000441/0.6864, allocations: 252.2 kB / 0.7768 GB, free: 93.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009212/0.6873, allocations: 190.7 kB / 0.777 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.6899, allocations: 1.413 MB / 0.7784 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.6903, allocations: 0.9375 MB / 0.7793 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005364/0.6908, allocations: 93.05 kB / 0.7794 GB, free: 91.02 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001627/0.691, allocations: 55.42 kB / 0.7795 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of SimCode: time 1.452e-06/0.691, allocations: 4 kB / 0.7795 GB, free: 90.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.0148/0.7058, allocations: 8.06 MB / 0.7873 GB, free: 82.99 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.sim & ./BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)