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.0009706/0.0009706, allocations: 96.09 kB / 20.43 MB, free: 4.141 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.001122/0.001122, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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 0.9729/0.9729, allocations: 177.1 MB / 204.2 MB, free: 5.648 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.6283/0.6283, allocations: 115 MB / 375.7 MB, free: 7.676 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 1.713e-06/1.713e-06, allocations: 0 / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.038e-05, allocations: 5.125 kB / 481.5 MB, free: 11.88 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.005434/0.005464, allocations: 3.51 MB / 485 MB, free: 9.605 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003416/0.008881, allocations: 1.353 MB / 486.3 MB, free: 8.652 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007588/0.009639, allocations: 35.19 kB / 486.4 MB, free: 8.637 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004043/0.01004, allocations: 128.7 kB / 486.5 MB, free: 8.539 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000794/0.01084, allocations: 185.6 kB / 486.7 MB, free: 8.41 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.01218, allocations: 0.5725 MB / 487.2 MB, free: 8.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.01345, allocations: 0.9736 MB / 488.2 MB, free: 7.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005351/0.01398, allocations: 226.3 kB / 488.4 MB, free: 7.449 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007963/0.01478, allocations: 0.5061 MB / 488.9 MB, free: 7.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004434/0.01522, allocations: 265.5 kB / 489.2 MB, free: 7.086 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.01543, allocations: 79.34 kB / 489.3 MB, free: 7.086 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.01556, allocations: 84.5 kB / 489.4 MB, free: 7.082 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001379/0.0157, allocations: 181.8 kB / 489.5 MB, free: 6.957 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000274/0.01597, allocations: 238.3 kB / 489.8 MB, free: 6.82 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.01686, allocations: 0.5928 MB / 490.4 MB, free: 6.473 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01687, allocations: 1.781 kB / 490.4 MB, free: 6.473 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.01687, allocations: 0 / 490.4 MB, free: 6.473 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.87e-05/0.0169, allocations: 0 / 490.4 MB, free: 6.473 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.002132/0.01903, allocations: 1.201 MB / 491.6 MB, free: 5.617 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.01908, allocations: 9.344 kB / 491.6 MB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002996/0.01938, allocations: 138.4 kB / 491.7 MB, free: 5.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.02054, allocations: 0.5863 MB / 492.3 MB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.02067, allocations: 156.5 kB / 492.4 MB, free: 5.031 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.02079, allocations: 53.34 kB / 492.5 MB, free: 5.016 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.02182, allocations: 0.6548 MB / 493.2 MB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.02184, allocations: 2.594 kB / 493.2 MB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/0.0219, allocations: 25.22 kB / 493.2 MB, free: 4.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.119e-05/0.02192, allocations: 13.28 kB / 493.2 MB, free: 4.531 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.0225, allocations: 203.2 kB / 493.4 MB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002922/0.02543, allocations: 2.189 MB / 495.6 MB, free: 18.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.0262, allocations: 272.4 kB / 495.9 MB, free: 18.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.02645, allocations: 105.9 kB / 496 MB, free: 18.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.02651, allocations: 12.62 kB / 496 MB, free: 18.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.02695, allocations: 235.4 kB / 496.2 MB, free: 18.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 3.757e-06/0.02695, allocations: 1.938 kB / 496.2 MB, free: 18.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.001034/0.02799, allocations: 374.6 kB / 496.6 MB, free: 18.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.02804, allocations: 116.2 kB / 496.7 MB, free: 18.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007642/0.02881, allocations: 0.5821 MB / 497.3 MB, free: 17.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.02886, allocations: 37.77 kB / 497.3 MB, free: 17.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.02915, allocations: 415.4 kB / 497.7 MB, free: 17.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.02927, allocations: 161.8 kB / 497.9 MB, free: 17.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001623/0.02943, allocations: 94.64 kB / 498 MB, free: 17.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.02965, allocations: 0.5512 MB / 498.5 MB, free: 16.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.02991, allocations: 106.1 kB / 498.6 MB, free: 16.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.03022, allocations: 297.9 kB / 498.9 MB, free: 16.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007125/0.03093, allocations: 324.3 kB / 499.2 MB, free: 16.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.03094, allocations: 1.25 kB / 499.2 MB, free: 16.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008469/0.03179, allocations: 472.2 kB / 499.7 MB, free: 16.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.03183, allocations: 42.16 kB / 499.7 MB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.03184, allocations: 2.625 kB / 499.7 MB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.03187, allocations: 5.938 kB / 499.7 MB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.03231, allocations: 100.3 kB / 499.8 MB, free: 16.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.03233, allocations: 13.39 kB / 499.8 MB, free: 16.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.03264, allocations: 58.44 kB / 499.9 MB, free: 16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.03268, allocations: 18.22 kB / 499.9 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003198/0.033, allocations: 233.7 kB / 0.4884 GB, free: 15.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003908/0.03339, allocations: 296.7 kB / 0.4887 GB, free: 15.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004408/0.03383, allocations: 318.3 kB / 0.489 GB, free: 15.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.03384, allocations: 1.125 kB / 0.489 GB, free: 15.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0007006/0.03454, allocations: 464.6 kB / 0.4894 GB, free: 15.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.03458, allocations: 36.91 kB / 0.4895 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.03458, allocations: 3.25 kB / 0.4895 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.0346, allocations: 12.95 kB / 0.4895 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003677/0.03496, allocations: 99.36 kB / 0.4896 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.03497, allocations: 12.91 kB / 0.4896 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.03525, allocations: 48.59 kB / 0.4897 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.382e-05/0.03528, allocations: 18.72 kB / 0.4897 GB, free: 15.01 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.0002032/0.03549, allocations: 300.7 kB / 0.49 GB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.0356, allocations: 88.94 kB / 0.49 GB, free: 14.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001133/0.03572, allocations: 74.8 kB / 0.4901 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.03572, allocations: 9.375 kB / 0.4901 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.03573, allocations: 0.9688 kB / 0.4901 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.03574, allocations: 0 / 0.4901 GB, free: 14.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.03628, allocations: 435.4 kB / 0.4905 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.03628, allocations: 2 kB / 0.4905 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.03661, allocations: 76.58 kB / 0.4906 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.03662, allocations: 1 kB / 0.4906 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.03666, allocations: 15.41 kB / 0.4906 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.03666, allocations: 10.23 kB / 0.4906 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.03666, allocations: 0 / 0.4906 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006514/0.03732, allocations: 449.9 kB / 0.4911 GB, free: 14.13 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/0.03747, allocations: 121.8 kB / 0.4912 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.903e-05/0.03753, allocations: 6.969 kB / 0.4912 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001847/0.03771, allocations: 32.75 kB / 0.4912 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/0.03778, allocations: 36.88 kB / 0.4913 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.03781, allocations: 17.5 kB / 0.4913 GB, free: 14.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003098/0.03812, allocations: 385.2 kB / 0.4916 GB, free: 13.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03812, allocations: 0 / 0.4916 GB, free: 13.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004883/0.03861, allocations: 225.1 kB / 0.4919 GB, free: 13.79 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.0001182/0.03872, allocations: 109.6 kB / 0.492 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007522/0.03948, allocations: 0.577 MB / 0.4925 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.03948, allocations: 1.094 kB / 0.4925 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.03968, allocations: 130.4 kB / 0.4926 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006402/0.04032, allocations: 218.8 kB / 0.4929 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.04206, allocations: 1.084 MB / 0.4939 GB, free: 12.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.04219, allocations: 140.2 kB / 0.4941 GB, free: 12.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.0425, allocations: 92.23 kB / 0.4941 GB, free: 12.56 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.04262, allocations: 50.48 kB / 0.4942 GB, free: 12.55 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.04263, allocations: 3.438 kB / 0.4942 GB, free: 12.55 MB / 426.7 MB Notification: Performance of Templates: time 0.01187/0.0545, allocations: 8.042 MB / 0.502 GB, free: 6.902 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.7167392103001475]