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.001796/0.001796, allocations: 75.34 kB / 20.51 MB, free: 1.285 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.001549/0.001549, allocations: 164.8 kB / 23.77 MB, free: 4.465 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.427/1.427, allocations: 177.2 MB / 204.1 MB, free: 8.977 MB / 190.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.935/0.935, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.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.002106/0.002106, allocations: 71.16 kB / 0.555 GB, free: 2.719 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1783, allocations: 89.14 MB / 0.6421 GB, free: 9.539 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.002039/0.1803, allocations: 0.6465 MB / 0.6427 GB, free: 8.895 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1819, allocations: 1.105 MB / 0.6438 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.263e-05/0.182, allocations: 0 / 0.6438 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.915e-05/0.182, allocations: 3.938 kB / 0.6438 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.81e-05/0.1821, allocations: 15.86 kB / 0.6438 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003213/0.1824, allocations: 43.89 kB / 0.6439 GB, free: 7.715 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1825, allocations: 71.83 kB / 0.6439 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.1826, allocations: 7.984 kB / 0.6439 GB, free: 7.637 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.1827, allocations: 27.92 kB / 0.644 GB, free: 7.609 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.7e-05/0.1828, allocations: 39.83 kB / 0.644 GB, free: 7.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.1828, allocations: 8 kB / 0.644 GB, free: 7.562 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.372e-05/0.1829, allocations: 19.98 kB / 0.644 GB, free: 7.543 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.1829, allocations: 15.98 kB / 0.644 GB, free: 7.527 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.581e-05/0.1829, allocations: 27.8 kB / 0.6441 GB, free: 7.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.1831, allocations: 83.67 kB / 0.6441 GB, free: 7.418 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1831, allocations: 0 / 0.6441 GB, free: 7.418 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1831, allocations: 0 / 0.6441 GB, free: 7.418 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.1831, allocations: 0 / 0.6441 GB, free: 7.418 MB / 0.545 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.0006407/0.1838, allocations: 318 kB / 0.6444 GB, free: 7.074 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1838, allocations: 12.03 kB / 0.6445 GB, free: 7.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.929e-05/0.1839, allocations: 4.938 kB / 0.6445 GB, free: 7.059 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.184, allocations: 110.5 kB / 0.6446 GB, free: 6.926 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.184, allocations: 4.375 kB / 0.6446 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.184, allocations: 12.36 kB / 0.6446 GB, free: 6.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.1843, allocations: 78.16 kB / 0.6447 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1843, allocations: 4.172 kB / 0.6447 GB, free: 6.824 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.1843, allocations: 3.938 kB / 0.6447 GB, free: 6.82 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1843, allocations: 4 kB / 0.6447 GB, free: 6.816 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.1845, allocations: 59.94 kB / 0.6447 GB, free: 6.758 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004994/0.185, allocations: 240.4 kB / 0.645 GB, free: 6.492 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002067/0.1852, allocations: 78.47 kB / 0.645 GB, free: 6.406 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.1853, allocations: 40.77 kB / 0.6451 GB, free: 6.363 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1854, allocations: 4 kB / 0.6451 GB, free: 6.359 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002538/0.1856, allocations: 91.38 kB / 0.6452 GB, free: 6.258 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.483e-06/0.1856, allocations: 0 / 0.6452 GB, free: 6.258 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0005364/0.1862, allocations: 169.7 kB / 0.6453 GB, free: 6.086 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.1862, allocations: 59.5 kB / 0.6454 GB, free: 6.016 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.203e-05/0.1863, allocations: 109.8 kB / 0.6455 GB, free: 5.898 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.1863, allocations: 37.69 kB / 0.6455 GB, free: 5.855 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.1864, allocations: 84.75 kB / 0.6456 GB, free: 5.766 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1864, allocations: 27.78 kB / 0.6456 GB, free: 5.738 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.1865, allocations: 37.7 kB / 0.6457 GB, free: 5.695 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.1866, allocations: 326.8 kB / 0.646 GB, free: 5.367 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.1868, allocations: 39.91 kB / 0.646 GB, free: 5.328 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1869, allocations: 61.64 kB / 0.6461 GB, free: 5.262 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.1872, allocations: 102.5 kB / 0.6462 GB, free: 5.152 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1872, allocations: 0 / 0.6462 GB, free: 5.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003407/0.1875, allocations: 141.5 kB / 0.6463 GB, free: 5.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1875, allocations: 7.938 kB / 0.6463 GB, free: 5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1875, allocations: 3.938 kB / 0.6463 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.1875, allocations: 4 kB / 0.6463 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.1877, allocations: 15.98 kB / 0.6463 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.387e-06/0.1877, allocations: 4.062 kB / 0.6463 GB, free: 4.973 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.815e-05/0.1878, allocations: 19.94 kB / 0.6464 GB, free: 4.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.1878, allocations: 4 kB / 0.6464 GB, free: 4.949 MB / 0.545 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.0001118/0.1879, allocations: 136.7 kB / 0.6465 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.1879, allocations: 7.984 kB / 0.6465 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003645/0.1883, allocations: 142 kB / 0.6466 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1883, allocations: 0 / 0.6466 GB, free: 4.656 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.1883, allocations: 3.984 kB / 0.6466 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1883, allocations: 4 kB / 0.6466 GB, free: 4.648 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.1888, allocations: 350 kB / 0.647 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1888, allocations: 0 / 0.647 GB, free: 4.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.221e-05/0.1889, allocations: 11.98 kB / 0.647 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1889, allocations: 0 / 0.647 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.1889, allocations: 0 / 0.647 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1889, allocations: 4 kB / 0.647 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1889, allocations: 0 / 0.647 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003902/0.1893, allocations: 247.5 kB / 0.6472 GB, free: 3.996 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.235e-05/0.1893, allocations: 7.984 kB / 0.6472 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.1893, allocations: 4 kB / 0.6472 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.1894, allocations: 8.234 kB / 0.6472 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.1895, allocations: 7.984 kB / 0.6473 GB, free: 3.969 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1895, allocations: 11.98 kB / 0.6473 GB, free: 3.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.892e-05/0.1896, allocations: 83.28 kB / 0.6473 GB, free: 3.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1896, allocations: 0 / 0.6473 GB, free: 3.875 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002621/0.1898, allocations: 20 kB / 0.6474 GB, free: 3.855 MB / 0.545 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.0001456/0.19, allocations: 117.1 kB / 0.6475 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003229/0.1903, allocations: 99.81 kB / 0.6476 GB, free: 3.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1903, allocations: 3.938 kB / 0.6476 GB, free: 3.633 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.1904, allocations: 43.97 kB / 0.6476 GB, free: 3.59 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.1907, allocations: 10.06 kB / 0.6476 GB, free: 3.582 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.1911, allocations: 167.2 kB / 0.6478 GB, free: 3.387 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.971e-05/0.1912, allocations: 67.34 kB / 0.6478 GB, free: 3.301 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.887e-05/0.1912, allocations: 8.484 kB / 0.6479 GB, free: 3.293 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.1913, allocations: 12.5 kB / 0.6479 GB, free: 3.281 MB / 0.545 GB Notification: Performance of SimCode: time 4.81e-07/0.1913, allocations: 0 / 0.6479 GB, free: 3.281 MB / 0.545 GB Notification: Performance of Templates: time 0.004026/0.1953, allocations: 1.055 MB / 0.6489 GB, free: 2.246 MB / 0.545 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.323679986060597] Failed to read output from testmodel.py, exit status != 0: 0.2039783940417692 0.218379504 0.032155971000000005 Calling exit ...