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.001347/0.001347, allocations: 100.4 kB / 20.45 MB, free: 1.383 MB / 14.72 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.001509/0.001509, allocations: 202.7 kB / 23.74 MB, free: 4.543 MB / 14.72 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.492/1.492, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 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.9828/0.9828, allocations: 149.9 MB / 463.8 MB, free: 10.36 MB / 366.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 67.59 kB / 0.6423 GB, free: 9.672 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1777, allocations: 89.17 MB / 0.7294 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001999/0.1797, allocations: 0.6641 MB / 0.73 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00155/0.1813, allocations: 1.096 MB / 0.7311 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.1813, allocations: 0 / 0.7311 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.13e-05/0.1814, allocations: 7.922 kB / 0.7311 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.238e-05/0.1814, allocations: 11.94 kB / 0.7311 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003088/0.1818, allocations: 47.83 kB / 0.7311 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.1819, allocations: 75.77 kB / 0.7312 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.254e-05/0.182, allocations: 4 kB / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.109e-05/0.1821, allocations: 31.91 kB / 0.7313 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.1821, allocations: 27.91 kB / 0.7313 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.1821, allocations: 8 kB / 0.7313 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.434e-05/0.1822, allocations: 23.98 kB / 0.7313 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.1822, allocations: 11.92 kB / 0.7313 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.694e-05/0.1823, allocations: 27.91 kB / 0.7314 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.1825, allocations: 79.69 kB / 0.7314 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1825, allocations: 0 / 0.7314 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1825, allocations: 4 kB / 0.7314 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.174e-05/0.1825, allocations: 0 / 0.7314 GB, free: 14.43 MB / 0.5606 GB 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.0006781/0.1832, allocations: 310.1 kB / 0.7317 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.1832, allocations: 15.97 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.1833, allocations: 4.938 kB / 0.7317 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.1834, allocations: 118.4 kB / 0.7319 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.482e-05/0.1834, allocations: 4.375 kB / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.097e-05/0.1835, allocations: 8.375 kB / 0.7319 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.1837, allocations: 82.2 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1837, allocations: 192 / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1837, allocations: 3.938 kB / 0.732 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1837, allocations: 7.938 kB / 0.732 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.1839, allocations: 55.89 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.1845, allocations: 244.4 kB / 0.7322 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1847, allocations: 74.55 kB / 0.7323 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001193/0.1848, allocations: 40.77 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.1848, allocations: 4 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.1851, allocations: 95.47 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.1851, allocations: 0 / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0005029/0.1856, allocations: 169.5 kB / 0.7326 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.1857, allocations: 63.41 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.316e-05/0.1857, allocations: 109.8 kB / 0.7328 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1858, allocations: 29.7 kB / 0.7328 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.1858, allocations: 84.38 kB / 0.7329 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.1859, allocations: 27.78 kB / 0.7329 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.822e-05/0.1859, allocations: 33.7 kB / 0.7329 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1861, allocations: 318.8 kB / 0.7333 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.1862, allocations: 35.97 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001408/0.1863, allocations: 62.53 kB / 0.7333 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002384/0.1866, allocations: 102.9 kB / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1866, allocations: 0 / 0.7334 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003248/0.1869, allocations: 146.1 kB / 0.7336 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.1869, allocations: 6.031 kB / 0.7336 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1869, allocations: 7.922 kB / 0.7336 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1869, allocations: 8.062 kB / 0.7336 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.1871, allocations: 23.92 kB / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1871, allocations: 0 / 0.7336 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.015e-05/0.1872, allocations: 11.95 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.1872, allocations: 4 kB / 0.7336 GB, free: 11.97 MB / 0.5606 GB 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 0.0001172/0.1873, allocations: 129.8 kB / 0.7338 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.1873, allocations: 256 / 0.7338 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.1877, allocations: 161.9 kB / 0.7339 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1877, allocations: 0 / 0.7339 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.1877, allocations: 4 kB / 0.7339 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1877, allocations: 4 kB / 0.7339 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.1882, allocations: 350 kB / 0.7343 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1882, allocations: 0 / 0.7343 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.827e-05/0.1883, allocations: 15.92 kB / 0.7343 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1883, allocations: 0 / 0.7343 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.1883, allocations: 7.938 kB / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1883, allocations: 4 kB / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1883, allocations: 0 / 0.7343 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.1887, allocations: 243.3 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.1887, allocations: 4 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.1887, allocations: 4 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.1888, allocations: 12.27 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1889, allocations: 3.984 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.03e-05/0.1889, allocations: 4 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.244e-05/0.1889, allocations: 95.2 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1889, allocations: 0 / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002446/0.1892, allocations: 20 kB / 0.7347 GB, free: 10.86 MB / 0.5606 GB 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.0001451/0.1893, allocations: 103.2 kB / 0.7348 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.1896, allocations: 96.91 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1896, allocations: 0 / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.1898, allocations: 48.03 kB / 0.7349 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002622/0.19, allocations: 15.98 kB / 0.7349 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003959/0.1904, allocations: 180.5 kB / 0.7351 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.016e-05/0.1905, allocations: 71.33 kB / 0.7351 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1905, allocations: 19.38 kB / 0.7352 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1905, allocations: 0 / 0.7352 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of Templates: time 0.003074/0.1936, allocations: 1.127 MB / 0.7363 GB, free: 9.164 MB / 0.5606 GB " [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: 7.878321263939142] Failed to read output from testmodel.py, exit status != 0: 0.20251500373706222 0.21707726100000002 0.031399532 Calling exit ...