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.0009454/0.0009454, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001372/0.002318, allocations: 452 kB / 10.43 MB, free: 268 kB / 10.45 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.0007021/0.0007021, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009362/0.001638, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8891/0.8891, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07584/0.9649, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5752/0.5752, allocations: 120.1 MB / 364.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07545/0.6506, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.573e-06/1.573e-06, allocations: 0 / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.342e-05, allocations: 2.312 kB / 403.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002026/0.00205, allocations: 0.7092 MB / 404.4 MB, free: 10.26 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.003402, allocations: 1.139 MB / 405.5 MB, free: 9.109 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.323e-05/0.003446, allocations: 0 / 405.5 MB, free: 9.109 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.003471, allocations: 3.938 kB / 405.6 MB, free: 9.105 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.512e-05/0.003517, allocations: 11.92 kB / 405.6 MB, free: 9.094 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.003728, allocations: 51.69 kB / 405.6 MB, free: 9.043 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.00383, allocations: 63.84 kB / 405.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.642e-05/0.003907, allocations: 11.98 kB / 405.7 MB, free: 8.969 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.004019, allocations: 55.89 kB / 405.7 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.129e-05/0.00408, allocations: 31.89 kB / 405.8 MB, free: 8.883 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.0041, allocations: 4 kB / 405.8 MB, free: 8.879 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.627e-05/0.004186, allocations: 24 kB / 405.8 MB, free: 8.855 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.179e-05/0.004208, allocations: 8 kB / 405.8 MB, free: 8.848 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 2.887e-05/0.004236, allocations: 23.88 kB / 405.8 MB, free: 8.824 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.004375, allocations: 51.81 kB / 405.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.349e-05/0.004389, allocations: 0 / 405.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.00439, allocations: 0 / 405.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.004402, allocations: 0 / 405.9 MB, free: 8.773 MB / 394.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.0005355/0.004938, allocations: 296.4 kB / 406.2 MB, free: 8.457 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.004974, allocations: 12.03 kB / 406.2 MB, free: 8.445 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.005105, allocations: 90.03 kB / 406.3 MB, free: 8.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.817e-05/0.005193, allocations: 117.6 kB / 406.4 MB, free: 8.199 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.005215, allocations: 12.36 kB / 406.4 MB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.005231, allocations: 4.375 kB / 406.4 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.005361, allocations: 74.92 kB / 406.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.005369, allocations: 192 / 406.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.557e-06/0.005378, allocations: 384 / 406.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.005384, allocations: 384 / 406.5 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.848e-05/0.005423, allocations: 23.86 kB / 406.5 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.005749, allocations: 180.2 kB / 406.7 MB, free: 7.887 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.005842, allocations: 50.55 kB / 406.7 MB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.525e-05/0.005867, allocations: 16.84 kB / 406.7 MB, free: 7.809 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.005886, allocations: 7.984 kB / 406.7 MB, free: 7.801 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.643e-05/0.005983, allocations: 71.44 kB / 406.8 MB, free: 7.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.005984, allocations: 0 / 406.8 MB, free: 7.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001535/0.006138, allocations: 73.61 kB / 406.9 MB, free: 7.641 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.006173, allocations: 59.34 kB / 406.9 MB, free: 7.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.006244, allocations: 118.7 kB / 407.1 MB, free: 7.441 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.006262, allocations: 29.7 kB / 407.1 MB, free: 7.406 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/0.006301, allocations: 88.38 kB / 407.2 MB, free: 7.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.00633, allocations: 27.77 kB / 407.2 MB, free: 7.285 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.00638, allocations: 33.69 kB / 407.2 MB, free: 7.246 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.647e-05/0.006466, allocations: 318.8 kB / 407.6 MB, free: 6.926 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.021e-05/0.006497, allocations: 11.98 kB / 407.6 MB, free: 6.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.142e-05/0.006538, allocations: 34.56 kB / 407.6 MB, free: 6.871 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.006612, allocations: 58.41 kB / 407.7 MB, free: 6.805 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006614, allocations: 0 / 407.7 MB, free: 6.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001157/0.00673, allocations: 85.66 kB / 407.7 MB, free: 6.715 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.006744, allocations: 8 kB / 407.7 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006748, allocations: 0 / 407.7 MB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.006764, allocations: 3.938 kB / 407.7 MB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.006873, allocations: 27.98 kB / 407.8 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.006879, allocations: 7.922 kB / 407.8 MB, free: 6.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.3e-05/0.006932, allocations: 15.89 kB / 407.8 MB, free: 6.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.006942, allocations: 4 kB / 407.8 MB, free: 6.648 MB / 394.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 7.046e-05/0.007013, allocations: 121.9 kB / 407.9 MB, free: 6.52 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.007027, allocations: 7.984 kB / 407.9 MB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.007131, allocations: 70.05 kB / 408 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.007134, allocations: 3.938 kB / 408 MB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.007136, allocations: 256 / 408 MB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.00714, allocations: 0 / 408 MB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002346/0.007374, allocations: 234.7 kB / 408.2 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.007376, allocations: 0 / 408.2 MB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.582e-05/0.007422, allocations: 11.98 kB / 408.2 MB, free: 6.164 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.524e-06/0.007429, allocations: 3.938 kB / 408.2 MB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.007433, allocations: 4 kB / 408.3 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.007439, allocations: 4 kB / 408.3 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.00744, allocations: 0 / 408.3 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007441, allocations: 0 / 408.3 MB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001083/0.007549, allocations: 167.5 kB / 408.4 MB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.007566, allocations: 3.938 kB / 408.4 MB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.337e-05/0.007629, allocations: 4 kB / 408.4 MB, free: 5.965 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.00766, allocations: 15.92 kB / 408.4 MB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.007667, allocations: 3.984 kB / 408.4 MB, free: 5.945 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.627e-05/0.007683, allocations: 12.84 kB / 408.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007683, allocations: 0 / 408.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002065/0.00789, allocations: 23.94 kB / 408.5 MB, free: 5.906 MB / 394.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.0001229/0.008013, allocations: 92.34 kB / 408.6 MB, free: 5.809 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.008122, allocations: 48.84 kB / 408.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.008129, allocations: 0 / 408.6 MB, free: 5.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.542e-05/0.008185, allocations: 36.72 kB / 408.7 MB, free: 5.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.008395, allocations: 76.31 kB / 408.7 MB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007668/0.009162, allocations: 161.3 kB / 408.9 MB, free: 5.449 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.721e-05/0.009199, allocations: 55.36 kB / 408.9 MB, free: 5.375 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.522e-05/0.009234, allocations: 12.48 kB / 409 MB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.477e-05/0.009299, allocations: 59.38 kB / 409 MB, free: 5.305 MB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0093, allocations: 0 / 409 MB, free: 5.305 MB / 394.7 MB Notification: Performance of Templates: time 0.003241/0.01254, allocations: 1.135 MB / 410.1 MB, free: 4.172 MB / 394.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: 2.9680400900542736]