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.001434/0.001434, allocations: 108.1 kB / 17.03 MB, free: 5.656 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.001603/0.001603, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.298/1.298, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.1 MB / 406.9 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 59.91 kB / 494.8 MB, free: 15.93 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3804, allocations: 76.15 MB / 0.5576 GB, free: 36.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004568/0.385, allocations: 3.691 MB / 0.5612 GB, free: 34.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.3876, allocations: 1.323 MB / 0.5624 GB, free: 33.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000384/0.388, allocations: 25.66 kB / 0.5625 GB, free: 33.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.3884, allocations: 128.3 kB / 0.5626 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004862/0.3889, allocations: 175.9 kB / 0.5628 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.39, allocations: 0.5825 MB / 0.5633 GB, free: 32.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009472/0.391, allocations: 0.965 MB / 0.5643 GB, free: 32.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005248/0.3915, allocations: 350.5 kB / 0.5646 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.3919, allocations: 366.7 kB / 0.565 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000372/0.3923, allocations: 354.1 kB / 0.5653 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.3924, allocations: 77.59 kB / 0.5654 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3925, allocations: 78.53 kB / 0.5654 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.3927, allocations: 178.1 kB / 0.5656 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.393, allocations: 379.4 kB / 0.566 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009036/0.3939, allocations: 0.8836 MB / 0.5668 GB, free: 30.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3939, allocations: 3.938 kB / 0.5668 GB, free: 30.67 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3939, allocations: 1.125 kB / 0.5668 GB, free: 30.67 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.394, allocations: 1 kB / 0.5668 GB, free: 30.67 MB / 446.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.00202/0.396, allocations: 1.182 MB / 0.568 GB, free: 29.86 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.396, allocations: 9.906 kB / 0.568 GB, free: 29.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.3962, allocations: 94.09 kB / 0.5681 GB, free: 29.81 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.3974, allocations: 0.6228 MB / 0.5687 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.3975, allocations: 95.39 kB / 0.5688 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.552e-05/0.3976, allocations: 61.23 kB / 0.5689 GB, free: 29.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3987, allocations: 0.5994 MB / 0.5694 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3987, allocations: 2.219 kB / 0.5694 GB, free: 28.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-05/0.3988, allocations: 22.22 kB / 0.5695 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.3988, allocations: 12.28 kB / 0.5695 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009338/0.3997, allocations: 430.1 kB / 0.5699 GB, free: 28.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.4025, allocations: 2.092 MB / 0.5719 GB, free: 27.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.4036, allocations: 0.5004 MB / 0.5724 GB, free: 27.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004386/0.4041, allocations: 218.4 kB / 0.5726 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.301e-05/0.4041, allocations: 9.422 kB / 0.5726 GB, free: 27.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006213/0.4048, allocations: 279.9 kB / 0.5729 GB, free: 27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.635e-06/0.4048, allocations: 0 / 0.5729 GB, free: 27 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001393/0.4062, allocations: 0.6169 MB / 0.5735 GB, free: 26.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.713e-05/0.4062, allocations: 86.36 kB / 0.5736 GB, free: 26.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007947/0.407, allocations: 0.6102 MB / 0.5742 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.4071, allocations: 37.11 kB / 0.5742 GB, free: 26.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/0.4073, allocations: 356.7 kB / 0.5746 GB, free: 26.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.4075, allocations: 158.2 kB / 0.5747 GB, free: 25.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001733/0.4076, allocations: 93.03 kB / 0.5748 GB, free: 25.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.258e-05/0.4077, allocations: 326.2 kB / 0.5751 GB, free: 25.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.4082, allocations: 181.9 kB / 0.5753 GB, free: 25.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004752/0.4087, allocations: 280.7 kB / 0.5756 GB, free: 25.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008217/0.4095, allocations: 481.1 kB / 0.576 GB, free: 25.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4095, allocations: 6.188 kB / 0.576 GB, free: 25.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001164/0.4107, allocations: 0.5951 MB / 0.5766 GB, free: 24.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.4107, allocations: 37.22 kB / 0.5766 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4107, allocations: 9.312 kB / 0.5766 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4108, allocations: 5.562 kB / 0.5766 GB, free: 24.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004791/0.4113, allocations: 107.7 kB / 0.5767 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.4113, allocations: 6.359 kB / 0.5768 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.4117, allocations: 68.38 kB / 0.5768 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.4117, allocations: 27.62 kB / 0.5768 GB, free: 24.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000521/0.4122, allocations: 307.9 kB / 0.5771 GB, free: 24.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004188/0.4127, allocations: 267.6 kB / 0.5774 GB, free: 24.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007765/0.4135, allocations: 449.6 kB / 0.5778 GB, free: 24.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.827e-06/0.4135, allocations: 1.156 kB / 0.5778 GB, free: 24.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001064/0.4145, allocations: 0.5801 MB / 0.5784 GB, free: 23.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.851e-05/0.4146, allocations: 37.94 kB / 0.5784 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4146, allocations: 3.406 kB / 0.5784 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.4146, allocations: 5.609 kB / 0.5784 GB, free: 23.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.4151, allocations: 107.7 kB / 0.5785 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4151, allocations: 5.562 kB / 0.5785 GB, free: 23.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003503/0.4154, allocations: 50.73 kB / 0.5786 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.4155, allocations: 19.48 kB / 0.5786 GB, free: 23.72 MB / 446.1 MB 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.0001711/0.4156, allocations: 213 kB / 0.5788 GB, free: 23.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-05/0.4157, allocations: 73.53 kB / 0.5789 GB, free: 23.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.4159, allocations: 80.3 kB / 0.579 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.4159, allocations: 4.844 kB / 0.579 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/0.4159, allocations: 0 / 0.579 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.4159, allocations: 2.297 kB / 0.579 GB, free: 23.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.4167, allocations: 0.6317 MB / 0.5796 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4167, allocations: 0.7969 kB / 0.5796 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.4171, allocations: 82.69 kB / 0.5797 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4172, allocations: 2.188 kB / 0.5797 GB, free: 23.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-05/0.4172, allocations: 8.812 kB / 0.5797 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.4172, allocations: 1.031 kB / 0.5797 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4172, allocations: 1.781 kB / 0.5797 GB, free: 23.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.4186, allocations: 0.7309 MB / 0.5804 GB, free: 22.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.4189, allocations: 186.4 kB / 0.5806 GB, free: 22.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.419, allocations: 16.38 kB / 0.5806 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.4193, allocations: 35.42 kB / 0.5806 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.4195, allocations: 34.11 kB / 0.5807 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.991e-05/0.4195, allocations: 14.03 kB / 0.5807 GB, free: 22.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005417/0.42, allocations: 431.8 kB / 0.5811 GB, free: 22.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4201, allocations: 1.531 kB / 0.5811 GB, free: 22.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006419/0.4207, allocations: 214.4 kB / 0.5813 GB, free: 22.26 MB / 446.1 MB 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.0001347/0.4208, allocations: 113.8 kB / 0.5814 GB, free: 22.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001557/0.4224, allocations: 0.7878 MB / 0.5822 GB, free: 21.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4224, allocations: 0.5156 kB / 0.5822 GB, free: 21.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004614/0.4229, allocations: 214.1 kB / 0.5824 GB, free: 21.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008298/0.4237, allocations: 210.2 kB / 0.5826 GB, free: 21.67 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.4257, allocations: 1.178 MB / 0.5837 GB, free: 21.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000412/0.4261, allocations: 0.9142 MB / 0.5846 GB, free: 20.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003952/0.4265, allocations: 92.28 kB / 0.5847 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.4267, allocations: 47.19 kB / 0.5847 GB, free: 20.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4267, allocations: 0 / 0.5847 GB, free: 20.28 MB / 446.1 MB Notification: Performance of Templates: time 0.01352/0.4402, allocations: 7.579 MB / 0.5921 GB, free: 16.6 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1)