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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 84.22 kB / 20.94 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 169 kB / 24.25 MB, free: 300 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.047/1.047, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6325/0.6325, allocations: 115 MB / 376 MB, free: 7.652 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") translateModel(IBPSA.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 481.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.74e-05/2.941e-05, allocations: 3.078 kB / 481.5 MB, free: 11.93 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.004131/0.00416, allocations: 3.502 MB / 485 MB, free: 9.664 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001653/0.005813, allocations: 1.339 MB / 486.3 MB, free: 8.723 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002753/0.006088, allocations: 36.62 kB / 486.3 MB, free: 8.703 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002302/0.006318, allocations: 132.8 kB / 486.5 MB, free: 8.602 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003702/0.006688, allocations: 197.8 kB / 486.7 MB, free: 8.465 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006636/0.007352, allocations: 0.5623 MB / 487.2 MB, free: 8.148 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.007976, allocations: 0.9685 MB / 488.2 MB, free: 7.656 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.00828, allocations: 229.3 kB / 488.4 MB, free: 7.512 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.008664, allocations: 0.5105 MB / 488.9 MB, free: 7.254 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.008898, allocations: 263.8 kB / 489.2 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.947e-05/0.008997, allocations: 80.16 kB / 489.3 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.957e-05/0.009077, allocations: 80.22 kB / 489.3 MB, free: 7.145 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.143e-05/0.009168, allocations: 184.8 kB / 489.5 MB, free: 7.016 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.009316, allocations: 236.3 kB / 489.8 MB, free: 6.883 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004299/0.009746, allocations: 0.588 MB / 490.3 MB, free: 6.539 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.00975, allocations: 1.031 kB / 490.3 MB, free: 6.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.009752, allocations: 1.531 kB / 490.3 MB, free: 6.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.00976, allocations: 3.938 kB / 490.3 MB, free: 6.535 MB / 410.7 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.001155/0.01091, allocations: 1.195 MB / 491.5 MB, free: 5.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.01095, allocations: 9.25 kB / 491.6 MB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000159/0.01111, allocations: 146.5 kB / 491.7 MB, free: 5.613 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006181/0.01173, allocations: 0.5839 MB / 492.3 MB, free: 5.242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.01181, allocations: 150.8 kB / 492.4 MB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.01188, allocations: 57.22 kB / 492.5 MB, free: 5.082 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005883/0.01247, allocations: 0.6588 MB / 493.1 MB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01248, allocations: 1.5 kB / 493.1 MB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.01252, allocations: 25.97 kB / 493.2 MB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.01253, allocations: 13.62 kB / 493.2 MB, free: 4.594 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.01288, allocations: 203.9 kB / 493.4 MB, free: 4.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.01455, allocations: 2.187 MB / 495.6 MB, free: 18.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004729/0.01502, allocations: 277.6 kB / 495.8 MB, free: 18.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.01518, allocations: 109 kB / 495.9 MB, free: 18.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.19e-05/0.01521, allocations: 7.594 kB / 496 MB, free: 18.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.01547, allocations: 231.7 kB / 496.2 MB, free: 18.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.924e-06/0.01547, allocations: 0 / 496.2 MB, free: 18.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.000588/0.01606, allocations: 381.5 kB / 496.6 MB, free: 18.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.0161, allocations: 112.9 kB / 496.7 MB, free: 18.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004196/0.01652, allocations: 0.5775 MB / 497.2 MB, free: 18.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.01656, allocations: 36.7 kB / 497.3 MB, free: 17.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.01673, allocations: 417.5 kB / 497.7 MB, free: 17.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.0168, allocations: 161.6 kB / 497.8 MB, free: 17.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/0.0169, allocations: 95.94 kB / 497.9 MB, free: 17.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.01704, allocations: 0.5479 MB / 498.5 MB, free: 16.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.0172, allocations: 107.8 kB / 498.6 MB, free: 16.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.01739, allocations: 303.5 kB / 498.9 MB, free: 16.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003223/0.01772, allocations: 321.1 kB / 499.2 MB, free: 16.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.01772, allocations: 1.031 kB / 499.2 MB, free: 16.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005398/0.01826, allocations: 473.3 kB / 499.7 MB, free: 16.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.01829, allocations: 36.23 kB / 499.7 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.0183, allocations: 7.719 kB / 499.7 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.01831, allocations: 4.469 kB / 499.7 MB, free: 16.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.01858, allocations: 111 kB / 499.8 MB, free: 16.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.01859, allocations: 8.703 kB / 499.8 MB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.01878, allocations: 54.48 kB / 499.9 MB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.0188, allocations: 21.12 kB / 499.9 MB, free: 16.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002212/0.01903, allocations: 235.6 kB / 0.4884 GB, free: 15.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000192/0.01922, allocations: 296.8 kB / 0.4887 GB, free: 15.61 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003069/0.01952, allocations: 318 kB / 0.489 GB, free: 15.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.963e-06/0.01953, allocations: 1.031 kB / 0.489 GB, free: 15.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0004912/0.02002, allocations: 462.2 kB / 0.4894 GB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.02004, allocations: 37.39 kB / 0.4895 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.02004, allocations: 2.531 kB / 0.4895 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.292e-06/0.02005, allocations: 9.594 kB / 0.4895 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.02028, allocations: 103.5 kB / 0.4896 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.02028, allocations: 4.5 kB / 0.4896 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.02045, allocations: 50.47 kB / 0.4896 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.02047, allocations: 21.06 kB / 0.4897 GB, free: 15.08 MB / 426.7 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.0001266/0.0206, allocations: 307.2 kB / 0.4899 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.367e-05/0.02068, allocations: 86.22 kB / 0.49 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.56e-05/0.02076, allocations: 78.84 kB / 0.4901 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.02076, allocations: 4.25 kB / 0.4901 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.02077, allocations: 0.9062 kB / 0.4901 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.02078, allocations: 3.281 kB / 0.4901 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.02116, allocations: 430.2 kB / 0.4905 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.02116, allocations: 1.094 kB / 0.4905 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.02139, allocations: 75.62 kB / 0.4906 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.0214, allocations: 3.438 kB / 0.4906 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.02142, allocations: 14.2 kB / 0.4906 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.02143, allocations: 6.781 kB / 0.4906 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.02143, allocations: 0 / 0.4906 GB, free: 14.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006585/0.02209, allocations: 453.1 kB / 0.4911 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.02224, allocations: 120.8 kB / 0.4912 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.02229, allocations: 11.84 kB / 0.4912 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.02246, allocations: 34.03 kB / 0.4912 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.02254, allocations: 30.25 kB / 0.4912 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.02256, allocations: 18.12 kB / 0.4913 GB, free: 14.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003295/0.02289, allocations: 385.7 kB / 0.4916 GB, free: 13.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02289, allocations: 2.656 kB / 0.4916 GB, free: 13.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004182/0.02331, allocations: 223.3 kB / 0.4918 GB, free: 13.86 MB / 426.7 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.0001073/0.02342, allocations: 108.8 kB / 0.4919 GB, free: 13.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006935/0.02411, allocations: 0.578 MB / 0.4925 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02411, allocations: 0 / 0.4925 GB, free: 13.46 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.02431, allocations: 133.5 kB / 0.4926 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.02491, allocations: 219.2 kB / 0.4928 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.02637, allocations: 1.091 MB / 0.4939 GB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001115/0.02648, allocations: 141 kB / 0.494 GB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002606/0.02674, allocations: 85.88 kB / 0.4941 GB, free: 12.63 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.02685, allocations: 53.73 kB / 0.4942 GB, free: 12.62 MB / 426.7 MB Notification: Performance of SimCode: time 7.12e-07/0.02685, allocations: 3.938 kB / 0.4942 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Templates: time 0.0119/0.03876, allocations: 8.04 MB / 0.502 GB, free: 7.238 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.makefile [Timeout 660] (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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.LimPID.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6524815049488097]