Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.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.001249/0.001249, allocations: 92.11 kB / 20.43 MB, free: 4.145 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.0008949/0.0008949, allocations: 165.3 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 1.077/1.077, allocations: 177.1 MB / 204.2 MB, free: 5.594 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.6566/0.6566, allocations: 114.9 MB / 375.7 MB, free: 7.66 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.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0.5469 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.927e-05/2.053e-05, allocations: 5.469 kB / 481.5 MB, free: 11.91 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001217/0.001238, allocations: 0.6824 MB / 482.2 MB, free: 11.52 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009532/0.002191, allocations: 1.137 MB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.002228, allocations: 0.8125 kB / 483.3 MB, free: 10.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.002251, allocations: 3.938 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.303e-05/0.002304, allocations: 9.391 kB / 483.3 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.002529, allocations: 53.75 kB / 483.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.535e-05/0.002604, allocations: 69.89 kB / 483.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.007e-05/0.002674, allocations: 8.219 kB / 483.4 MB, free: 10.63 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.741e-05/0.002742, allocations: 40.11 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.002783, allocations: 27.83 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.002798, allocations: 6.062 kB / 483.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.382e-05/0.002852, allocations: 22.98 kB / 483.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.962e-05/0.002872, allocations: 21.73 kB / 483.6 MB, free: 10.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.0029, allocations: 22.88 kB / 483.6 MB, free: 10.57 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003011, allocations: 65.81 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.003013, allocations: 0 / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.2e-07/0.003013, allocations: 0.6875 kB / 483.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.003017, allocations: 1.062 kB / 483.6 MB, free: 10.54 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003587/0.003376, allocations: 402.6 kB / 484 MB, free: 10.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.003408, allocations: 10.34 kB / 484.1 MB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.003498, allocations: 22.34 kB / 484.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.696e-05/0.003555, allocations: 108 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.003571, allocations: 4.594 kB / 484.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.003584, allocations: 8.812 kB / 484.2 MB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.003704, allocations: 81.11 kB / 484.3 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.003712, allocations: 192 / 484.3 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.00372, allocations: 6.031 kB / 484.3 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.003727, allocations: 1.469 kB / 484.3 MB, free: 9.953 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.546e-05/0.003773, allocations: 28.16 kB / 484.3 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.004225, allocations: 298.2 kB / 484.6 MB, free: 25.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.901e-05/0.004324, allocations: 64.73 kB / 484.7 MB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.004358, allocations: 25.25 kB / 484.7 MB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.004378, allocations: 6.031 kB / 484.7 MB, free: 25.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.626e-05/0.004454, allocations: 74.64 kB / 484.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.004455, allocations: 1.438 kB / 484.8 MB, free: 25.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.000205/0.00466, allocations: 122.3 kB / 484.9 MB, free: 25.48 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.275e-05/0.004683, allocations: 55.34 kB / 484.9 MB, free: 25.42 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.004746, allocations: 164.8 kB / 485.1 MB, free: 25.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.004758, allocations: 32.11 kB / 485.1 MB, free: 25.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.0048, allocations: 141 kB / 485.3 MB, free: 25.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.004819, allocations: 20.27 kB / 485.3 MB, free: 25.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.004858, allocations: 37.48 kB / 485.3 MB, free: 25.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.004971, allocations: 0.4906 MB / 485.8 MB, free: 24.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.005003, allocations: 13.53 kB / 485.8 MB, free: 24.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.387e-05/0.005047, allocations: 56.64 kB / 485.9 MB, free: 24.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.407e-05/0.005121, allocations: 67.58 kB / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.005123, allocations: 3.938 kB / 486 MB, free: 24.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001301/0.005253, allocations: 104.7 kB / 486.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.005265, allocations: 9.094 kB / 486.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.00527, allocations: 2.625 kB / 486.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.005288, allocations: 1.531 kB / 486.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.005374, allocations: 20.97 kB / 486.1 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.005379, allocations: 6.688 kB / 486.1 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.005408, allocations: 12.48 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.005418, allocations: 3.656 kB / 486.1 MB, free: 24.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (firOrdHol.firstTrigger,$PRE.firOrdHol.firstTrigger,firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.c,$PRE.firOrdHol.c,firOrdHol.pre_uSample,$PRE.firOrdHol.pre_uSample,firOrdHol.uSample,$PRE.firOrdHol.uSample,firOrdHol.tSample,$PRE.firOrdHol.tSample) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 6.819e-05/0.005486, allocations: 170 kB / 486.3 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.363e-05/0.0055, allocations: 18.05 kB / 486.3 MB, free: 24.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.005644, allocations: 105.2 kB / 486.4 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.005647, allocations: 1 kB / 486.4 MB, free: 24.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.00565, allocations: 6.5 kB / 486.4 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.005653, allocations: 0 / 486.4 MB, free: 24.12 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.005896, allocations: 374.4 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.005898, allocations: 1.219 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.163e-05/0.00593, allocations: 9.562 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.005933, allocations: 0.9688 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.005941, allocations: 2.156 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.005943, allocations: 0.875 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.005944, allocations: 3.562 kB / 486.8 MB, free: 23.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.006093, allocations: 264.6 kB / 487 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.0061, allocations: 6.234 kB / 487.1 MB, free: 23.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.006115, allocations: 6.406 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.00617, allocations: 6.641 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.0062, allocations: 7 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.006207, allocations: 6.594 kB / 487.1 MB, free: 23.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.109e-05/0.006249, allocations: 128.7 kB / 487.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006249, allocations: 0 / 487.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.006413, allocations: 18.94 kB / 487.2 MB, free: 23.45 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (firOrdHol.sampleTrigger,$whenCondition1,firOrdHol.firstTrigger,firOrdHol.tSample,firOrdHol.uSample,firOrdHol.pre_uSample,firOrdHol.c) * Number of discrete states: 2 (firOrdHol.uSample,firOrdHol.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 9.086e-05/0.006504, allocations: 109 kB / 487.3 MB, free: 23.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.006623, allocations: 64.33 kB / 487.4 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006624, allocations: 1.219 kB / 487.4 MB, free: 23.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.053e-05/0.006665, allocations: 30.89 kB / 487.4 MB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001746/0.006839, allocations: 19 kB / 487.4 MB, free: 23.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004041/0.007243, allocations: 168.3 kB / 487.6 MB, free: 23.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.777e-05/0.007271, allocations: 61.27 kB / 487.7 MB, free: 23.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.376e-05/0.007295, allocations: 10.67 kB / 487.7 MB, free: 23.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.007319, allocations: 13.16 kB / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.00732, allocations: 0 / 487.7 MB, free: 23.09 MB / 426.7 MB Notification: Performance of Templates: time 0.002577/0.009898, allocations: 1.097 MB / 488.8 MB, free: 23.01 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7159014199860394]