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.002202/0.002202, allocations: 104.1 kB / 16.4 MB, free: 6.492 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.002646/0.002646, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.429/1.429, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.38 kB / 0.5576 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2072/0.2084, allocations: 76.18 MB / 0.632 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.006093/0.2145, allocations: 3.696 MB / 0.6357 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003504/0.218, allocations: 1.317 MB / 0.6369 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009288/0.219, allocations: 35.81 kB / 0.637 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005532/0.2195, allocations: 126.6 kB / 0.6371 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001009/0.2206, allocations: 182.5 kB / 0.6373 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.2222, allocations: 0.5767 MB / 0.6378 GB, free: 14.54 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.2237, allocations: 0.9758 MB / 0.6388 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006866/0.2244, allocations: 341.6 kB / 0.6391 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000626/0.2251, allocations: 378.4 kB / 0.6395 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003522/0.2254, allocations: 354 kB / 0.6398 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001149/0.2255, allocations: 80 kB / 0.6399 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.2256, allocations: 76 kB / 0.64 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.2258, allocations: 179.3 kB / 0.6401 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.2261, allocations: 385.7 kB / 0.6405 GB, free: 11.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009187/0.227, allocations: 0.8833 MB / 0.6414 GB, free: 10.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2271, allocations: 0 / 0.6414 GB, free: 10.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2271, allocations: 0 / 0.6414 GB, free: 10.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.2271, allocations: 0 / 0.6414 GB, free: 10.91 MB / 494.1 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.002027/0.2291, allocations: 1.191 MB / 0.6425 GB, free: 9.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.2292, allocations: 12.03 kB / 0.6425 GB, free: 9.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001622/0.2293, allocations: 91.81 kB / 0.6426 GB, free: 9.555 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.2304, allocations: 0.626 MB / 0.6432 GB, free: 8.887 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.2305, allocations: 96.97 kB / 0.6433 GB, free: 8.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.52e-05/0.2306, allocations: 48.38 kB / 0.6434 GB, free: 8.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.2317, allocations: 0.6003 MB / 0.644 GB, free: 8.086 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2317, allocations: 4 kB / 0.644 GB, free: 8.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.131e-05/0.2317, allocations: 20 kB / 0.644 GB, free: 8.062 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.477e-05/0.2318, allocations: 12 kB / 0.644 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009431/0.2327, allocations: 431.6 kB / 0.6444 GB, free: 7.629 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002658/0.2354, allocations: 2.098 MB / 0.6465 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001208/0.2366, allocations: 0.4917 MB / 0.6469 GB, free: 4.945 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.2371, allocations: 217.8 kB / 0.6471 GB, free: 4.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.2371, allocations: 11.98 kB / 0.6472 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006485/0.2378, allocations: 285.9 kB / 0.6474 GB, free: 4.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 1.873e-06/0.2378, allocations: 0 / 0.6474 GB, free: 4.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=45): time 0.001454/0.2393, allocations: 0.6112 MB / 0.648 GB, free: 3.809 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/0.2393, allocations: 88.86 kB / 0.6481 GB, free: 3.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006799/0.24, allocations: 0.6176 MB / 0.6487 GB, free: 3.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.2401, allocations: 37.7 kB / 0.6487 GB, free: 3.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.2404, allocations: 352.9 kB / 0.6491 GB, free: 2.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.2405, allocations: 153.7 kB / 0.6492 GB, free: 2.531 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.2406, allocations: 106 kB / 0.6493 GB, free: 2.422 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.2408, allocations: 326 kB / 0.6496 GB, free: 2.098 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004506/0.2412, allocations: 183 kB / 0.6498 GB, free: 1.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/0.2417, allocations: 276.2 kB / 0.6501 GB, free: 1.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00091/0.2426, allocations: 477.9 kB / 0.6505 GB, free: 1.102 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2427, allocations: 7.875 kB / 0.6505 GB, free: 1.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001139/0.2438, allocations: 0.5904 MB / 0.6511 GB, free: 500 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.2439, allocations: 35.27 kB / 0.6512 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2439, allocations: 4 kB / 0.6512 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.2439, allocations: 8.297 kB / 0.6512 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004878/0.2444, allocations: 111.8 kB / 0.6513 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.2444, allocations: 11.98 kB / 0.6513 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.2448, allocations: 59.5 kB / 0.6513 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.2449, allocations: 20 kB / 0.6514 GB, free: 244 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005662/0.2454, allocations: 308.8 kB / 0.6517 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004464/0.2459, allocations: 268.2 kB / 0.6519 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000813/0.2467, allocations: 458 kB / 0.6523 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.2467, allocations: 4 kB / 0.6523 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001063/0.2478, allocations: 0.5748 MB / 0.6529 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.2478, allocations: 37.69 kB / 0.6529 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.2478, allocations: 0 / 0.6529 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.001e-06/0.2479, allocations: 4 kB / 0.6529 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.2483, allocations: 103.8 kB / 0.653 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.2483, allocations: 11.98 kB / 0.6531 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003666/0.2487, allocations: 55.83 kB / 0.6531 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.2487, allocations: 16 kB / 0.6531 GB, free: 14.33 MB / 0.4981 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.000196/0.2489, allocations: 216 kB / 0.6533 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.454e-05/0.249, allocations: 75.14 kB / 0.6534 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.2492, allocations: 79.22 kB / 0.6535 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.2492, allocations: 4 kB / 0.6535 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.2492, allocations: 3.938 kB / 0.6535 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.2492, allocations: 7.984 kB / 0.6535 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006845/0.2499, allocations: 0.6218 MB / 0.6541 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.2499, allocations: 0 / 0.6541 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004568/0.2504, allocations: 87.88 kB / 0.6542 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2504, allocations: 0 / 0.6542 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.2504, allocations: 8 kB / 0.6542 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.2504, allocations: 0 / 0.6542 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.2504, allocations: 0 / 0.6542 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001472/0.2519, allocations: 0.7314 MB / 0.6549 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002194/0.2521, allocations: 196 kB / 0.6551 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.2522, allocations: 16 kB / 0.6551 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.2526, allocations: 35.89 kB / 0.6551 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.84e-05/0.2527, allocations: 31.95 kB / 0.6552 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.349e-05/0.2528, allocations: 12 kB / 0.6552 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005229/0.2533, allocations: 435 kB / 0.6556 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2533, allocations: 0 / 0.6556 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006058/0.2539, allocations: 215.3 kB / 0.6558 GB, free: 11.49 MB / 0.4981 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.0001609/0.2541, allocations: 115.2 kB / 0.6559 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.2557, allocations: 0.7811 MB / 0.6567 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2557, allocations: 0 / 0.6567 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000461/0.2562, allocations: 219.9 kB / 0.6569 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009632/0.2572, allocations: 197.8 kB / 0.6571 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002119/0.2593, allocations: 1.176 MB / 0.6582 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004373/0.2598, allocations: 0.914 MB / 0.6591 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003482/0.2601, allocations: 97.11 kB / 0.6592 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.2603, allocations: 43.44 kB / 0.6593 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.2603, allocations: 0 / 0.6593 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of Templates: time 0.01486/0.2751, allocations: 7.669 MB / 0.6667 GB, free: 300 kB / 0.4981 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)