Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.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.0008726/0.0008726, allocations: 73.88 kB / 20.65 MB, free: 3.84 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.0009975/0.0009975, allocations: 169 kB / 24.05 MB, free: 452 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.005/1.005, allocations: 177.1 MB / 204.5 MB, free: 5.105 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.643/0.643, allocations: 115 MB / 376 MB, free: 7.402 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.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState") translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 482 MB, free: 11.7 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.756e-05, allocations: 2.312 kB / 482 MB, free: 11.7 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState): time 0.003293/0.00332, allocations: 1.652 MB / 483.7 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.004865, allocations: 1.308 MB / 485 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.005047, allocations: 7 kB / 485 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.005182, allocations: 76.22 kB / 485.1 MB, free: 9.633 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001797/0.005362, allocations: 75.59 kB / 485.1 MB, free: 9.578 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.00556, allocations: 158.3 kB / 485.3 MB, free: 9.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005731/0.006133, allocations: 0.4883 MB / 485.8 MB, free: 9.219 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003429/0.006476, allocations: 187.4 kB / 486 MB, free: 9.117 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003293/0.006805, allocations: 275.9 kB / 486.2 MB, free: 8.965 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.006957, allocations: 146.7 kB / 486.4 MB, free: 8.898 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 7.402e-05/0.007031, allocations: 51.88 kB / 486.4 MB, free: 8.898 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.007094, allocations: 54.44 kB / 486.5 MB, free: 8.898 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.179e-05/0.007166, allocations: 107.9 kB / 486.6 MB, free: 8.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.007273, allocations: 141.4 kB / 486.7 MB, free: 8.734 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.007644, allocations: 321 kB / 487 MB, free: 8.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.007647, allocations: 0 / 487 MB, free: 8.535 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.007648, allocations: 1.531 kB / 487 MB, free: 8.535 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.007655, allocations: 0 / 487 MB, free: 8.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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0008804/0.008535, allocations: 0.8497 MB / 487.9 MB, free: 7.883 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.00857, allocations: 10.16 kB / 487.9 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.934e-05/0.008669, allocations: 83.8 kB / 488 MB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002548/0.008924, allocations: 296.8 kB / 488.3 MB, free: 7.605 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.217e-05/0.008956, allocations: 30.81 kB / 488.3 MB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.338e-05/0.009, allocations: 40.91 kB / 488.3 MB, free: 7.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.009364, allocations: 351.1 kB / 488.7 MB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.009374, allocations: 0.75 kB / 488.7 MB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.009395, allocations: 24.78 kB / 488.7 MB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.009407, allocations: 14.42 kB / 488.7 MB, free: 7.367 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.009563, allocations: 115.7 kB / 488.8 MB, free: 7.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.01086, allocations: 1.178 MB / 490 MB, free: 22.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.01109, allocations: 142.7 kB / 490.2 MB, free: 22.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.01115, allocations: 61.48 kB / 490.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.01117, allocations: 4.031 kB / 490.2 MB, free: 22.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.666e-05/0.01119, allocations: 39.67 kB / 490.3 MB, free: 22.37 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 1.273e-06/0.01119, allocations: 1 kB / 490.3 MB, free: 22.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0002181/0.01141, allocations: 164.4 kB / 490.4 MB, free: 22.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.01143, allocations: 104.2 kB / 490.5 MB, free: 22.18 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.01163, allocations: 358.2 kB / 490.9 MB, free: 21.95 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.01164, allocations: 32.3 kB / 490.9 MB, free: 21.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.01175, allocations: 314.2 kB / 491.2 MB, free: 21.65 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.01178, allocations: 75.17 kB / 491.3 MB, free: 21.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.702e-05/0.01185, allocations: 75.33 kB / 491.4 MB, free: 21.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.01198, allocations: 0.5182 MB / 491.9 MB, free: 21.03 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.983e-05/0.01205, allocations: 46.89 kB / 491.9 MB, free: 21.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.01216, allocations: 275.7 kB / 492.2 MB, free: 20.72 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.0123, allocations: 178.6 kB / 492.4 MB, free: 20.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.01231, allocations: 0 / 492.4 MB, free: 20.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002512/0.01256, allocations: 235 kB / 492.6 MB, free: 20.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.01257, allocations: 10.03 kB / 492.6 MB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01257, allocations: 2.312 kB / 492.6 MB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.01258, allocations: 5.5 kB / 492.6 MB, free: 20.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.01273, allocations: 69.31 kB / 492.7 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.01274, allocations: 8.125 kB / 492.7 MB, free: 20.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.01284, allocations: 42.3 kB / 492.7 MB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.01285, allocations: 11.38 kB / 492.7 MB, free: 20.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001031/0.01296, allocations: 175.5 kB / 492.9 MB, free: 20.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.205e-05/0.01305, allocations: 265.2 kB / 493.2 MB, free: 20.03 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000116/0.01316, allocations: 177.5 kB / 493.3 MB, free: 19.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.41e-07/0.01316, allocations: 1.25 kB / 493.3 MB, free: 19.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0002196/0.01338, allocations: 233.3 kB / 493.6 MB, free: 19.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.01339, allocations: 9.953 kB / 493.6 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.016e-06/0.01339, allocations: 2.125 kB / 493.6 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.0134, allocations: 4.688 kB / 493.6 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.01351, allocations: 57.31 kB / 493.6 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.01352, allocations: 8.562 kB / 493.7 MB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.126e-05/0.01361, allocations: 38.81 kB / 493.7 MB, free: 19.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.01362, allocations: 8.594 kB / 493.7 MB, free: 19.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPID.con1.y,limPI.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * 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.0001076/0.01373, allocations: 297.9 kB / 494 MB, free: 19.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.01377, allocations: 35.28 kB / 494 MB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.01392, allocations: 144.3 kB / 494.2 MB, free: 19.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.01393, allocations: 6.016 kB / 494.2 MB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.754e-06/0.01393, allocations: 1.062 kB / 494.2 MB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.01393, allocations: 0 / 494.2 MB, free: 19.38 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005461/0.01448, allocations: 0.5762 MB / 494.8 MB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.01448, allocations: 1.531 kB / 494.8 MB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.337e-05/0.01458, allocations: 40.94 kB / 494.8 MB, free: 18.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.155e-06/0.01458, allocations: 5.125 kB / 494.8 MB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.01459, allocations: 9.906 kB / 494.8 MB, free: 18.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01459, allocations: 5.188 kB / 494.8 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.0146, allocations: 5.672 kB / 494.8 MB, free: 18.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.01487, allocations: 367 kB / 495.2 MB, free: 18.64 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.633e-05/0.0149, allocations: 43.88 kB / 495.2 MB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.01492, allocations: 4 kB / 495.2 MB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.776e-05/0.015, allocations: 18.45 kB / 495.2 MB, free: 18.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.01502, allocations: 17.72 kB / 495.3 MB, free: 18.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.685e-06/0.01502, allocations: 4.906 kB / 495.3 MB, free: 18.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.01515, allocations: 231.8 kB / 495.5 MB, free: 18.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01515, allocations: 3.938 kB / 495.5 MB, free: 18.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003971/0.01555, allocations: 155.8 kB / 495.6 MB, free: 18.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001044/0.01565, allocations: 106.6 kB / 495.8 MB, free: 18.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.01591, allocations: 235.5 kB / 496 MB, free: 18.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.01592, allocations: 4 kB / 496 MB, free: 18.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/0.01597, allocations: 60.56 kB / 496 MB, free: 18.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.01626, allocations: 71.3 kB / 496.1 MB, free: 18.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000681/0.01694, allocations: 0.6441 MB / 496.8 MB, free: 17.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.835e-05/0.017, allocations: 99.58 kB / 496.9 MB, free: 17.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.704e-05/0.0171, allocations: 34.69 kB / 496.9 MB, free: 17.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001447/0.01724, allocations: 138.4 kB / 497 MB, free: 17.62 MB / 426.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01724, allocations: 0 / 497 MB, free: 17.62 MB / 426.7 MB Notification: Performance of Templates: time 0.006747/0.02399, allocations: 3.77 MB / 0.4891 GB, free: 17.22 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.PIDInitialState.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.609242931008339]