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.001248/0.001248, allocations: 81.86 kB / 21.44 MB, free: 3.059 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.0009313/0.0009313, allocations: 166.6 kB / 24.84 MB, free: 9.289 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.9461/0.9461, allocations: 177.1 MB / 205.3 MB, free: 5.523 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.6142/0.6142, allocations: 115 MB / 376.8 MB, free: 7.516 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.224e-06/2.224e-06, allocations: 0 / 482.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.914e-05, allocations: 2.312 kB / 482.7 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001933/0.001962, allocations: 0.6697 MB / 483.4 MB, free: 11.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.003263, allocations: 1.129 MB / 484.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.003316, allocations: 6.688 kB / 484.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.003345, allocations: 3.938 kB / 484.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.066e-05/0.003426, allocations: 4.969 kB / 484.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.003743, allocations: 58.42 kB / 484.6 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.00386, allocations: 65.5 kB / 484.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.999e-05/0.00395, allocations: 7.281 kB / 484.7 MB, free: 10.45 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.93e-05/0.004049, allocations: 44.86 kB / 484.7 MB, free: 10.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.835e-05/0.004108, allocations: 28.06 kB / 484.7 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.004128, allocations: 5.969 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.509e-05/0.004203, allocations: 22.8 kB / 484.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.592e-05/0.004229, allocations: 18.34 kB / 484.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.024e-05/0.00426, allocations: 23.06 kB / 484.8 MB, free: 10.39 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.004397, allocations: 64.7 kB / 484.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.004401, allocations: 1.031 kB / 484.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.004402, allocations: 0 / 484.9 MB, free: 10.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.004406, allocations: 0.5625 kB / 484.9 MB, free: 10.36 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.0004612/0.004867, allocations: 406.7 kB / 485.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.004908, allocations: 12.78 kB / 485.3 MB, free: 9.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.005018, allocations: 17.39 kB / 485.3 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.807e-05/0.005086, allocations: 111.6 kB / 485.4 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.005109, allocations: 3.469 kB / 485.4 MB, free: 9.824 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.005126, allocations: 18.03 kB / 485.4 MB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.005263, allocations: 70.47 kB / 485.5 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.005272, allocations: 192 / 485.5 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.998e-06/0.005282, allocations: 4.547 kB / 485.5 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005287, allocations: 1.656 kB / 485.5 MB, free: 9.766 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.457e-05/0.005332, allocations: 22.14 kB / 485.5 MB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005858/0.005918, allocations: 284 kB / 485.8 MB, free: 25.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.006022, allocations: 54.75 kB / 485.9 MB, free: 25.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.413e-05/0.006056, allocations: 25.59 kB / 485.9 MB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.006072, allocations: 1.188 kB / 485.9 MB, free: 25.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.584e-05/0.006168, allocations: 68.97 kB / 486 MB, free: 25.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 1.803e-06/0.00617, allocations: 5 kB / 486 MB, free: 25.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002439/0.006414, allocations: 117.1 kB / 486.1 MB, free: 25.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.006445, allocations: 54.72 kB / 486.1 MB, free: 25.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.062e-05/0.006525, allocations: 168 kB / 486.3 MB, free: 25.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.006541, allocations: 35.78 kB / 486.3 MB, free: 25.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.006587, allocations: 132.5 kB / 486.5 MB, free: 24.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.006615, allocations: 27.69 kB / 486.5 MB, free: 24.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.006664, allocations: 38.3 kB / 486.5 MB, free: 24.87 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.006788, allocations: 0.4901 MB / 487 MB, free: 24.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.006819, allocations: 12.53 kB / 487 MB, free: 24.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-05/0.006866, allocations: 51.2 kB / 487.1 MB, free: 24.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.016e-05/0.006946, allocations: 59.78 kB / 487.1 MB, free: 24.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006948, allocations: 0 / 487.1 MB, free: 24.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001509/0.007099, allocations: 98.78 kB / 487.2 MB, free: 24.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.007116, allocations: 8.719 kB / 487.2 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.007123, allocations: 5.875 kB / 487.2 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.007135, allocations: 1.312 kB / 487.2 MB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.007258, allocations: 25.84 kB / 487.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.007262, allocations: 6.031 kB / 487.3 MB, free: 24.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.627e-05/0.007309, allocations: 7.359 kB / 487.3 MB, free: 24.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.007322, allocations: 8.5 kB / 487.3 MB, free: 24.21 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.647e-05/0.007408, allocations: 169.2 kB / 487.5 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.007429, allocations: 9.641 kB / 487.5 MB, free: 24.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.007602, allocations: 106.9 kB / 487.6 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.007605, allocations: 1.844 kB / 487.6 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.007607, allocations: 0 / 487.6 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.007611, allocations: 1.938 kB / 487.6 MB, free: 23.98 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.007919, allocations: 348.2 kB / 487.9 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.007921, allocations: 1.344 kB / 487.9 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.907e-05/0.00797, allocations: 5.25 kB / 487.9 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.007973, allocations: 5.281 kB / 487.9 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.007979, allocations: 2.531 kB / 487.9 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.007981, allocations: 0 / 487.9 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.007983, allocations: 8.875 kB / 487.9 MB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.008121, allocations: 245.7 kB / 488.2 MB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.008128, allocations: 12.12 kB / 488.2 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.008144, allocations: 8.734 kB / 488.2 MB, free: 23.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.465e-05/0.008208, allocations: 12.62 kB / 488.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.00824, allocations: 9.188 kB / 488.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.008249, allocations: 8.703 kB / 488.2 MB, free: 23.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.78e-05/0.008297, allocations: 123.2 kB / 488.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.008297, allocations: 0 / 488.4 MB, free: 23.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.008566, allocations: 19.91 kB / 488.4 MB, free: 23.33 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.0001291/0.008695, allocations: 104.1 kB / 488.5 MB, free: 23.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.00883, allocations: 60.41 kB / 488.5 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.008832, allocations: 0 / 488.5 MB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.843e-05/0.008881, allocations: 37.48 kB / 488.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.00914, allocations: 13.42 kB / 488.6 MB, free: 23.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.009593, allocations: 166.6 kB / 488.7 MB, free: 23.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.022e-05/0.009624, allocations: 61.92 kB / 488.8 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.6e-05/0.00966, allocations: 5.812 kB / 488.8 MB, free: 22.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/0.009725, allocations: 83.09 kB / 488.9 MB, free: 22.92 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.009726, allocations: 1.188 kB / 488.9 MB, free: 22.92 MB / 426.7 MB Notification: Performance of Templates: time 0.00349/0.01322, allocations: 1.205 MB / 490.1 MB, free: 22.82 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.3613684228621423]