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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001481/0.00148, allocations: 101.1 kB / 16.4 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 192 kB / 17.34 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8274/0.8274, allocations: 126.1 MB / 417.3 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 62.2 kB / 0.573 GB, free: 27.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2126, allocations: 78.7 MB / 0.6499 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005124/0.2178, allocations: 3.687 MB / 0.6535 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003394/0.2213, allocations: 1.336 MB / 0.6548 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004923/0.2218, allocations: 27.88 kB / 0.6548 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.2222, allocations: 126.6 kB / 0.655 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006446/0.2229, allocations: 171.7 kB / 0.6551 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.2242, allocations: 0.577 MB / 0.6557 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001139/0.2254, allocations: 0.9681 MB / 0.6566 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006249/0.226, allocations: 349.6 kB / 0.657 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004457/0.2265, allocations: 366.4 kB / 0.6573 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004302/0.2269, allocations: 350.1 kB / 0.6576 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001228/0.227, allocations: 76 kB / 0.6577 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.2272, allocations: 80 kB / 0.6578 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.2273, allocations: 183.2 kB / 0.658 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.2277, allocations: 377.7 kB / 0.6583 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0009059/0.2286, allocations: 0.9021 MB / 0.6592 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2286, allocations: 0 / 0.6592 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2286, allocations: 0 / 0.6592 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.25e-05/0.2286, allocations: 0 / 0.6592 GB, free: 10.64 MB / 0.4981 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.002013/0.2306, allocations: 1.214 MB / 0.6604 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2307, allocations: 8.031 kB / 0.6604 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001493/0.2308, allocations: 100.3 kB / 0.6605 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.2319, allocations: 0.6189 MB / 0.6611 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001179/0.232, allocations: 96.95 kB / 0.6612 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.002e-05/0.2321, allocations: 56.38 kB / 0.6613 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001077/0.2332, allocations: 0.6041 MB / 0.6618 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.2332, allocations: 0 / 0.6618 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.756e-05/0.2333, allocations: 24 kB / 0.6619 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.36e-05/0.2333, allocations: 12 kB / 0.6619 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009082/0.2342, allocations: 427.6 kB / 0.6623 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.2369, allocations: 2.099 MB / 0.6643 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.238, allocations: 0.4966 MB / 0.6648 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.2385, allocations: 220.7 kB / 0.665 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.081e-05/0.2386, allocations: 15.95 kB / 0.665 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006273/0.2392, allocations: 274.2 kB / 0.6653 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 3.266e-06/0.2392, allocations: 0 / 0.6653 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001421/0.2406, allocations: 0.6223 MB / 0.6659 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.2407, allocations: 84.86 kB / 0.666 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006893/0.2414, allocations: 0.6101 MB / 0.6666 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.2415, allocations: 41.64 kB / 0.6666 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.2417, allocations: 365.1 kB / 0.667 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.2419, allocations: 162.6 kB / 0.6671 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001426/0.242, allocations: 98.19 kB / 0.6672 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2421, allocations: 330 kB / 0.6675 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000426/0.2426, allocations: 179 kB / 0.6677 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004681/0.243, allocations: 280.2 kB / 0.668 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008611/0.2439, allocations: 470 kB / 0.6684 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.2439, allocations: 3.938 kB / 0.6684 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001115/0.2451, allocations: 0.6103 MB / 0.669 GB, free: 180 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.075e-05/0.2451, allocations: 35.73 kB / 0.6691 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2451, allocations: 0 / 0.6691 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.2451, allocations: 8.312 kB / 0.6691 GB, free: 132 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004335/0.2456, allocations: 111.8 kB / 0.6692 GB, free: 20 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.261e-05/0.2456, allocations: 7.984 kB / 0.6692 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003638/0.246, allocations: 59.8 kB / 0.6692 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.872e-05/0.246, allocations: 23.98 kB / 0.6693 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005186/0.2465, allocations: 309.2 kB / 0.6696 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004205/0.247, allocations: 264.3 kB / 0.6698 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007484/0.2477, allocations: 457.8 kB / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.868e-06/0.2478, allocations: 3.984 kB / 0.6703 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009823/0.2487, allocations: 0.5828 MB / 0.6708 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2488, allocations: 33.7 kB / 0.6709 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2488, allocations: 7.984 kB / 0.6709 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-06/0.2488, allocations: 4 kB / 0.6709 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.2492, allocations: 95.89 kB / 0.671 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.2492, allocations: 12.22 kB / 0.671 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.2495, allocations: 55.7 kB / 0.671 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.429e-05/0.2496, allocations: 24 kB / 0.671 GB, free: 14.01 MB / 0.5137 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.2498, allocations: 212.1 kB / 0.6712 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.074e-05/0.2499, allocations: 79.42 kB / 0.6713 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.25, allocations: 87.14 kB / 0.6714 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.25, allocations: 7.938 kB / 0.6714 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.2501, allocations: 4 kB / 0.6714 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2501, allocations: 4 kB / 0.6714 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.2508, allocations: 0.6219 MB / 0.672 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2508, allocations: 0 / 0.672 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.2512, allocations: 79.89 kB / 0.6721 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.91e-06/0.2512, allocations: 4 kB / 0.6721 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.2513, allocations: 11.98 kB / 0.6721 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2513, allocations: 4 kB / 0.6721 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2513, allocations: 0 / 0.6721 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001427/0.2527, allocations: 0.7254 MB / 0.6728 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002213/0.2529, allocations: 200.5 kB / 0.673 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.253, allocations: 8 kB / 0.673 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.2534, allocations: 39.95 kB / 0.6731 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.2535, allocations: 23.97 kB / 0.6731 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.564e-05/0.2535, allocations: 23.92 kB / 0.6731 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004568/0.254, allocations: 431 kB / 0.6735 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.254, allocations: 0 / 0.6735 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005323/0.2545, allocations: 219.5 kB / 0.6737 GB, free: 11.16 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001444/0.2547, allocations: 115.1 kB / 0.6738 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.2561, allocations: 0.7927 MB / 0.6746 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2562, allocations: 0 / 0.6746 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004263/0.2566, allocations: 211.8 kB / 0.6748 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/0.2574, allocations: 207.1 kB / 0.675 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.2594, allocations: 1.201 MB / 0.6762 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.2598, allocations: 0.918 MB / 0.6771 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003194/0.2601, allocations: 93.11 kB / 0.6772 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001343/0.2603, allocations: 47.44 kB / 0.6772 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.2603, allocations: 0 / 0.6772 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of Templates: time 0.0127/0.273, allocations: 7.659 MB / 0.6847 GB, free: 15.93 MB / 0.5294 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)