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.001459/0.001459, allocations: 77.09 kB / 20.65 MB, free: 3.844 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.001698/0.001698, allocations: 169 kB / 24.05 MB, free: 456 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.031/1.031, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.6377/0.6377, allocations: 115 MB / 376 MB, free: 7.496 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.643e-06/1.643e-06, allocations: 0 / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.387e-05, allocations: 2.312 kB / 481.9 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.LimPID): time 0.003316/0.00333, allocations: 3.432 MB / 485.4 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.004988, allocations: 1.354 MB / 486.7 MB, free: 8.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002495/0.005238, allocations: 33.62 kB / 486.7 MB, free: 8.527 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.005463, allocations: 136.1 kB / 486.9 MB, free: 8.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.005808, allocations: 187.4 kB / 487.1 MB, free: 8.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005954/0.006404, allocations: 0.5684 MB / 487.6 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006924/0.007096, allocations: 0.9701 MB / 488.6 MB, free: 7.48 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003151/0.007411, allocations: 232.7 kB / 488.8 MB, free: 7.336 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004691/0.00788, allocations: 0.5135 MB / 489.3 MB, free: 7.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.008131, allocations: 251.1 kB / 489.6 MB, free: 6.977 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.008235, allocations: 81.84 kB / 489.7 MB, free: 6.973 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.09e-05/0.008326, allocations: 77.53 kB / 489.7 MB, free: 6.973 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.904e-05/0.008425, allocations: 188 kB / 489.9 MB, free: 6.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001507/0.008576, allocations: 232.4 kB / 490.1 MB, free: 6.711 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004445/0.00902, allocations: 0.5818 MB / 490.7 MB, free: 6.371 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.009022, allocations: 0 / 490.7 MB, free: 6.371 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.009024, allocations: 1.781 kB / 490.7 MB, free: 6.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.009031, allocations: 0 / 490.7 MB, free: 6.371 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.001177/0.01021, allocations: 1.198 MB / 491.9 MB, free: 5.508 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.01025, allocations: 10.09 kB / 491.9 MB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001351/0.01038, allocations: 138.7 kB / 492.1 MB, free: 5.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/0.01097, allocations: 0.5851 MB / 492.7 MB, free: 5.066 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.968e-05/0.01105, allocations: 145.9 kB / 492.8 MB, free: 4.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.01112, allocations: 54.22 kB / 492.9 MB, free: 4.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.01163, allocations: 0.6248 MB / 493.5 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.01164, allocations: 1.438 kB / 493.5 MB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.164e-05/0.01167, allocations: 28.69 kB / 493.5 MB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.01169, allocations: 13.69 kB / 493.5 MB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.0119, allocations: 157.9 kB / 493.7 MB, free: 4.422 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.01344, allocations: 2.101 MB / 495.8 MB, free: 18.77 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.01382, allocations: 244.8 kB / 496 MB, free: 18.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.01395, allocations: 94.14 kB / 496.1 MB, free: 18.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.885e-05/0.01399, allocations: 13.05 kB / 496.1 MB, free: 18.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.01423, allocations: 222.2 kB / 496.3 MB, free: 18.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.874e-06/0.01423, allocations: 0 / 496.3 MB, free: 18.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=45): time 0.0005034/0.01474, allocations: 340.6 kB / 496.7 MB, free: 18.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/0.01478, allocations: 116.6 kB / 496.8 MB, free: 18.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003925/0.01517, allocations: 0.568 MB / 497.3 MB, free: 17.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.01521, allocations: 37.17 kB / 497.4 MB, free: 17.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.01539, allocations: 411.9 kB / 497.8 MB, free: 17.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.274e-05/0.01547, allocations: 165.8 kB / 498 MB, free: 17.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.01558, allocations: 103.4 kB / 498.1 MB, free: 17.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.01573, allocations: 0.5573 MB / 498.6 MB, free: 16.86 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.01584, allocations: 93.77 kB / 498.7 MB, free: 16.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.01601, allocations: 280 kB / 499 MB, free: 16.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.01626, allocations: 297.1 kB / 499.3 MB, free: 16.32 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.01627, allocations: 4 kB / 499.3 MB, free: 16.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004578/0.01672, allocations: 437.5 kB / 499.7 MB, free: 16.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.01675, allocations: 36.83 kB / 499.7 MB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.01676, allocations: 2.406 kB / 499.7 MB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01678, allocations: 10.47 kB / 499.7 MB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.01704, allocations: 107.8 kB / 499.8 MB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.01705, allocations: 5.219 kB / 499.9 MB, free: 16.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001673/0.01722, allocations: 52.7 kB / 499.9 MB, free: 16.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.01724, allocations: 17.88 kB / 499.9 MB, free: 16.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001794/0.01742, allocations: 218.8 kB / 0.4884 GB, free: 15.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001632/0.01758, allocations: 274.6 kB / 0.4887 GB, free: 15.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002414/0.01783, allocations: 296.5 kB / 0.489 GB, free: 15.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.01783, allocations: 1.469 kB / 0.489 GB, free: 15.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0004323/0.01826, allocations: 429.3 kB / 0.4894 GB, free: 15.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.01828, allocations: 40.25 kB / 0.4894 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.01828, allocations: 2.438 kB / 0.4894 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.094e-06/0.01829, allocations: 5.594 kB / 0.4894 GB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002372/0.01853, allocations: 107.1 kB / 0.4895 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.01854, allocations: 6.062 kB / 0.4895 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01869, allocations: 49.73 kB / 0.4896 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.01872, allocations: 17.34 kB / 0.4896 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 (limPID.I.trigger_internal,limPIDRev.I.trigger_internal,limPIDOri.I.local_reset,pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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.0001343/0.01885, allocations: 302.5 kB / 0.4899 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/0.01893, allocations: 86.31 kB / 0.49 GB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.747e-05/0.01901, allocations: 74.42 kB / 0.49 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.01901, allocations: 9.312 kB / 0.49 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01902, allocations: 0 / 0.49 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01902, allocations: 5.047 kB / 0.49 GB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.01935, allocations: 338.5 kB / 0.4904 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01935, allocations: 1.125 kB / 0.4904 GB, free: 14.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/0.01957, allocations: 80.47 kB / 0.4904 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01957, allocations: 1.438 kB / 0.4904 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.01959, allocations: 8.125 kB / 0.4905 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.01959, allocations: 6.25 kB / 0.4905 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01959, allocations: 0 / 0.4905 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004709/0.02006, allocations: 426.5 kB / 0.4909 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/0.0202, allocations: 117.6 kB / 0.491 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.808e-05/0.02023, allocations: 7.688 kB / 0.491 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001537/0.02039, allocations: 29.94 kB / 0.491 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.02045, allocations: 35.97 kB / 0.491 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.215e-05/0.02047, allocations: 21.86 kB / 0.4911 GB, free: 14.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.02069, allocations: 364.1 kB / 0.4914 GB, free: 14 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02069, allocations: 0.8438 kB / 0.4914 GB, free: 14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003952/0.02109, allocations: 223.8 kB / 0.4916 GB, free: 13.93 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.0001155/0.0212, allocations: 111.7 kB / 0.4917 GB, free: 13.83 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.02173, allocations: 0.5309 MB / 0.4923 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.02173, allocations: 0.7188 kB / 0.4923 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.02188, allocations: 119.8 kB / 0.4924 GB, free: 13.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.0224, allocations: 215.9 kB / 0.4926 GB, free: 13.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.02368, allocations: 1.077 MB / 0.4936 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.02379, allocations: 139.9 kB / 0.4938 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002452/0.02404, allocations: 88.98 kB / 0.4938 GB, free: 12.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.02445, allocations: 256.3 kB / 0.4941 GB, free: 12.68 MB / 426.7 MB Notification: Performance of SimCode: time 8.92e-07/0.02445, allocations: 0 / 0.4941 GB, free: 12.68 MB / 426.7 MB Notification: Performance of Templates: time 0.01205/0.0365, allocations: 8.729 MB / 0.5026 GB, free: 6.523 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.677353528793901]