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.00141/0.00141, allocations: 92.72 kB / 20.21 MB, free: 4.199 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.001583/0.001583, allocations: 157.3 kB / 23.52 MB, free: 0.8945 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.46/1.46, allocations: 177.2 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.9907/0.9907, allocations: 115 MB / 375.3 MB, free: 7.57 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 2.505e-06/2.505e-06, allocations: 3.938 kB / 480.8 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.078e-05, allocations: 2.312 kB / 480.8 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001645/0.001676, allocations: 0.6591 MB / 481.4 MB, free: 11.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.002947, allocations: 1.105 MB / 482.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.003001, allocations: 2.312 kB / 482.5 MB, free: 10.78 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.003033, allocations: 3.938 kB / 482.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 7.29e-05/0.003106, allocations: 7.875 kB / 482.5 MB, free: 10.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.003394, allocations: 60.39 kB / 482.6 MB, free: 10.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.003499, allocations: 63.64 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.003601, allocations: 8.281 kB / 482.7 MB, free: 10.7 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.425e-05/0.003686, allocations: 44.77 kB / 482.7 MB, free: 10.68 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.819e-05/0.003734, allocations: 23.08 kB / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.003753, allocations: 7.188 kB / 482.7 MB, free: 10.67 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.576e-05/0.003819, allocations: 26 kB / 482.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.157e-05/0.003841, allocations: 13.02 kB / 482.8 MB, free: 10.66 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.003883, allocations: 25.42 kB / 482.8 MB, free: 10.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.004029, allocations: 87.19 kB / 482.9 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.475e-06/0.004032, allocations: 2.406 kB / 482.9 MB, free: 10.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004032, allocations: 0 / 482.9 MB, free: 10.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.067e-06/0.004036, allocations: 0 / 482.9 MB, free: 10.61 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.0005568/0.004593, allocations: 308.8 kB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.004627, allocations: 14.84 kB / 483.2 MB, free: 10.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.004742, allocations: 15.31 kB / 483.2 MB, free: 10.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.104e-05/0.004813, allocations: 118.6 kB / 483.3 MB, free: 10.18 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.554e-05/0.004839, allocations: 11.25 kB / 483.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.004855, allocations: 5.406 kB / 483.4 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.005059, allocations: 78.25 kB / 483.4 MB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.005069, allocations: 5.594 kB / 483.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.005083, allocations: 6.844 kB / 483.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.005088, allocations: 384 / 483.4 MB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.005288, allocations: 57.19 kB / 483.5 MB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004184/0.005707, allocations: 235.5 kB / 483.7 MB, free: 9.891 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.005892, allocations: 77.14 kB / 483.8 MB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.006003, allocations: 40.33 kB / 483.8 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.006028, allocations: 3.031 kB / 483.9 MB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.006241, allocations: 89.81 kB / 483.9 MB, free: 9.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.006242, allocations: 0.9375 kB / 483.9 MB, free: 9.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005124/0.006755, allocations: 172.5 kB / 484.1 MB, free: 9.703 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.34e-05/0.006788, allocations: 62.75 kB / 484.2 MB, free: 9.637 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.006856, allocations: 112.7 kB / 484.3 MB, free: 9.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.006873, allocations: 36.45 kB / 484.3 MB, free: 9.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.094e-05/0.006904, allocations: 87.03 kB / 484.4 MB, free: 9.398 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.00693, allocations: 32.09 kB / 484.4 MB, free: 9.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.006977, allocations: 31.08 kB / 484.5 MB, free: 9.352 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002737/0.00725, allocations: 321.2 kB / 484.8 MB, free: 25.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/0.007379, allocations: 37.16 kB / 484.8 MB, free: 25.03 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001244/0.007504, allocations: 62.5 kB / 484.9 MB, free: 24.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000214/0.007718, allocations: 97.33 kB / 485 MB, free: 24.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.00772, allocations: 1.656 kB / 485 MB, free: 24.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000304/0.008024, allocations: 147.4 kB / 485.1 MB, free: 24.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.008042, allocations: 8.906 kB / 485.1 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.008048, allocations: 6.438 kB / 485.1 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.00807, allocations: 1.156 kB / 485.1 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.008206, allocations: 22.05 kB / 485.2 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.008212, allocations: 1.125 kB / 485.2 MB, free: 24.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.739e-05/0.0083, allocations: 22.8 kB / 485.2 MB, free: 24.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.008314, allocations: 4.625 kB / 485.2 MB, free: 24.86 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 8.858e-05/0.008403, allocations: 118.8 kB / 485.3 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.008424, allocations: 13.27 kB / 485.3 MB, free: 24.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.008761, allocations: 149.8 kB / 485.5 MB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.008764, allocations: 2.188 kB / 485.5 MB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.008768, allocations: 0.5625 kB / 485.5 MB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.008772, allocations: 6.938 kB / 485.5 MB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004679/0.00924, allocations: 352.1 kB / 485.8 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009241, allocations: 0 / 485.8 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.814e-05/0.009309, allocations: 11.61 kB / 485.8 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.009312, allocations: 1.156 kB / 485.8 MB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.009322, allocations: 4.844 kB / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.009324, allocations: 0 / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.009325, allocations: 4.891 kB / 485.8 MB, free: 24.37 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.009675, allocations: 252.5 kB / 486.1 MB, free: 24.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.004e-05/0.009685, allocations: 7.188 kB / 486.1 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.009704, allocations: 5.25 kB / 486.1 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.009811, allocations: 9.234 kB / 486.1 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.009857, allocations: 7.938 kB / 486.1 MB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.009867, allocations: 3.625 kB / 486.1 MB, free: 24.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.975e-05/0.009927, allocations: 86.39 kB / 486.2 MB, free: 24.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009927, allocations: 1.469 kB / 486.2 MB, free: 24.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.01019, allocations: 24.11 kB / 486.2 MB, free: 24.1 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 0.0001434/0.01033, allocations: 108 kB / 486.3 MB, free: 24.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.01062, allocations: 97.92 kB / 486.4 MB, free: 23.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.01062, allocations: 0 / 486.4 MB, free: 23.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.01075, allocations: 47.95 kB / 486.5 MB, free: 23.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.01102, allocations: 19.75 kB / 486.5 MB, free: 23.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.01136, allocations: 155.7 kB / 486.6 MB, free: 23.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.397e-05/0.01141, allocations: 71.34 kB / 486.7 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.543e-05/0.01144, allocations: 6.875 kB / 486.7 MB, free: 23.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.189e-05/0.01147, allocations: 12.5 kB / 486.7 MB, free: 23.76 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.01147, allocations: 1.188 kB / 486.7 MB, free: 23.76 MB / 426.7 MB Notification: Performance of Templates: time 0.003833/0.01531, allocations: 1.084 MB / 487.8 MB, free: 23.68 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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.327126703923568]