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.761/0.761, allocations: 127.4 MB / 134.9 MB, free: 3.457 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.001073/0.001073, allocations: 176.2 kB / 164.6 MB, free: 11.59 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.495/1.495, allocations: 205.2 MB / 399.5 MB, free: 13.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.0008156/0.0008156, allocations: 82.41 kB / 476.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.368e-05/1.368e-05, allocations: 2.375 kB / 0.5466 GB, free: 95.43 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 76.77 MB / 0.6215 GB, free: 43.11 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.252, allocations: 110 MB / 0.7289 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.2522, allocations: 83.94 kB / 0.729 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3403/0.5926, allocations: 17.62 MB / 0.7462 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5926, allocations: 0 / 0.7462 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.055e-05/0.5927, allocations: 24.44 kB / 0.7463 GB, free: 111.1 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.001648/0.5944, allocations: 0.9485 MB / 0.7472 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.5944, allocations: 8.719 kB / 0.7472 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002215/0.5947, allocations: 94.7 kB / 0.7473 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5959, allocations: 0.5952 MB / 0.7479 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.596, allocations: 84.88 kB / 0.7479 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/0.5961, allocations: 37.08 kB / 0.748 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007394/0.5968, allocations: 348 kB / 0.7483 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008516/0.5977, allocations: 0.5193 MB / 0.7488 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.5977, allocations: 0.9375 kB / 0.7488 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.629e-05/0.5978, allocations: 1.469 kB / 0.7488 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.5978, allocations: 13.75 kB / 0.7488 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.6005, allocations: 2.13 MB / 0.7509 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007522/0.6012, allocations: 444.9 kB / 0.7513 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.6015, allocations: 162.4 kB / 0.7515 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.6015, allocations: 4.719 kB / 0.7515 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003721/0.6019, allocations: 235.5 kB / 0.7517 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=45): time 2.224e-06/0.6019, allocations: 0 / 0.7517 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45): time 0.0006618/0.6026, allocations: 390.3 kB / 0.7521 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.6026, allocations: 191.8 kB / 0.7523 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000499/0.6031, allocations: 485.9 kB / 0.7527 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.6032, allocations: 30.77 kB / 0.7528 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.6034, allocations: 367.7 kB / 0.7531 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.693e-05/0.6035, allocations: 151.9 kB / 0.7533 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.6035, allocations: 1.406 kB / 0.7533 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.6036, allocations: 376.3 kB / 0.7536 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.6038, allocations: 141.7 kB / 0.7538 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.6041, allocations: 274.3 kB / 0.754 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002361/0.6044, allocations: 162.2 kB / 0.7542 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6044, allocations: 0 / 0.7542 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0007014/0.6051, allocations: 492.9 kB / 0.7546 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001626/0.6053, allocations: 0.9892 MB / 0.7556 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6053, allocations: 2.906 kB / 0.7556 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6053, allocations: 4.156 kB / 0.7556 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005124/0.6058, allocations: 129.5 kB / 0.7557 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.6058, allocations: 5.344 kB / 0.7557 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004555/0.6063, allocations: 65.69 kB / 0.7558 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.6063, allocations: 21.44 kB / 0.7558 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.215e-06/0.6064, allocations: 7.516 kB / 0.7558 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000558/0.6069, allocations: 367.5 kB / 0.7562 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.6069, allocations: 3.625 kB / 0.7562 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.6069, allocations: 5.125 kB / 0.7562 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.6074, allocations: 100.6 kB / 0.7563 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.6074, allocations: 9.156 kB / 0.7563 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003729/0.6078, allocations: 46.58 kB / 0.7563 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.6078, allocations: 18.53 kB / 0.7564 GB, free: 106.3 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.0001192/0.6079, allocations: 119.2 kB / 0.7565 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.608, allocations: 77.55 kB / 0.7565 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001369/0.6082, allocations: 74.22 kB / 0.7566 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.6082, allocations: 3.938 kB / 0.7566 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.6082, allocations: 1.125 kB / 0.7566 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6082, allocations: 3.328 kB / 0.7566 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005509/0.6088, allocations: 0.5782 MB / 0.7572 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.6088, allocations: 5.312 kB / 0.7572 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000487/0.6093, allocations: 94.45 kB / 0.7573 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6093, allocations: 5.219 kB / 0.7573 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.328e-05/0.6093, allocations: 9.766 kB / 0.7573 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6093, allocations: 9.266 kB / 0.7573 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6093, allocations: 3.938 kB / 0.7573 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.6102, allocations: 0.6137 MB / 0.7579 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.6104, allocations: 197.8 kB / 0.7581 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.264e-05/0.6105, allocations: 1.188 kB / 0.7581 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005011/0.611, allocations: 57.61 kB / 0.7582 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.6111, allocations: 38.98 kB / 0.7582 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.74e-05/0.6111, allocations: 17.62 kB / 0.7582 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003685/0.6115, allocations: 369.1 kB / 0.7586 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6115, allocations: 0 / 0.7586 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000697/0.6122, allocations: 221.5 kB / 0.7588 GB, free: 105 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.0001535/0.6124, allocations: 113.5 kB / 0.7589 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.6135, allocations: 0.6976 MB / 0.7596 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6135, allocations: 5.25 kB / 0.7596 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003278/0.6138, allocations: 186.5 kB / 0.7597 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008851/0.6147, allocations: 172.8 kB / 0.7599 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.6162, allocations: 0.8728 MB / 0.7608 GB, free: 104 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.6165, allocations: 0.9383 MB / 0.7617 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005387/0.617, allocations: 131.6 kB / 0.7618 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.6171, allocations: 40.36 kB / 0.7618 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.81e-07/0.6171, allocations: 4 kB / 0.7618 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.01152/0.6287, allocations: 8.495 MB / 0.7701 GB, free: 100.6 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)