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.001272/0.001272, allocations: 119.2 kB / 19.69 MB, free: 2.199 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.001385/0.001385, allocations: 225.6 kB / 23.01 MB, free: 5.043 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.38/1.38, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9277/0.9277, allocations: 150 MB / 463.2 MB, free: 10.46 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold",fmuType="me",version="2.0",platforms={"static"}) [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.001963/0.001963, allocations: 62.66 kB / 0.6412 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1786, allocations: 89.17 MB / 0.7283 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold): time 0.001914/0.1805, allocations: 0.6853 MB / 0.729 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001433/0.182, allocations: 1.12 MB / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.118e-05/0.182, allocations: 0 / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.182, allocations: 3.938 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.1821, allocations: 7.875 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.1824, allocations: 59.81 kB / 0.7302 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1825, allocations: 63.89 kB / 0.7302 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.2e-05/0.1826, allocations: 11.98 kB / 0.7302 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.05e-05/0.1827, allocations: 27.92 kB / 0.7303 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.002e-05/0.1827, allocations: 31.84 kB / 0.7303 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.1827, allocations: 8 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.253e-05/0.1828, allocations: 27.91 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.1828, allocations: 12 kB / 0.7303 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.318e-05/0.1829, allocations: 31.86 kB / 0.7304 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.183, allocations: 79.95 kB / 0.7304 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.183, allocations: 8 kB / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.062e-06/0.183, allocations: 0 / 0.7304 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.183, allocations: 0 / 0.7304 GB, free: 15.1 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.0006014/0.1836, allocations: 306.1 kB / 0.7307 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.1837, allocations: 8.031 kB / 0.7307 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.1837, allocations: 38.75 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.1838, allocations: 8.922 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.1839, allocations: 122.5 kB / 0.7309 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.1839, allocations: 8.312 kB / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.93e-05/0.184, allocations: 8.375 kB / 0.7309 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002174/0.1842, allocations: 81.27 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1842, allocations: 3.938 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.1842, allocations: 4 kB / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.1842, allocations: 0 / 0.731 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001929/0.1844, allocations: 59.89 kB / 0.7311 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005012/0.1849, allocations: 283.8 kB / 0.7313 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/0.1851, allocations: 74.48 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001214/0.1852, allocations: 40.77 kB / 0.7314 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1852, allocations: 8 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/0.1855, allocations: 91.48 kB / 0.7315 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1855, allocations: 0 / 0.7315 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0004629/0.1859, allocations: 169.5 kB / 0.7317 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.186, allocations: 59.41 kB / 0.7318 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/0.1861, allocations: 117.8 kB / 0.7319 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.1861, allocations: 29.7 kB / 0.7319 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.1862, allocations: 84.38 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1862, allocations: 35.77 kB / 0.732 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.121e-05/0.1863, allocations: 29.7 kB / 0.732 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1864, allocations: 322.8 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.1865, allocations: 35.97 kB / 0.7324 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.1866, allocations: 65.5 kB / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002297/0.1869, allocations: 98.47 kB / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1869, allocations: 0 / 0.7325 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003123/0.1872, allocations: 145.6 kB / 0.7327 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.1872, allocations: 8 kB / 0.7327 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.1872, allocations: 0 / 0.7327 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1872, allocations: 0 / 0.7327 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.1874, allocations: 23.97 kB / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1874, allocations: 0 / 0.7327 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.206e-05/0.1874, allocations: 15.95 kB / 0.7327 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.18e-05/0.1874, allocations: 4 kB / 0.7327 GB, free: 12.55 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.00011/0.1876, allocations: 137.8 kB / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/0.1876, allocations: 4 kB / 0.7329 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.1879, allocations: 146.2 kB / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1879, allocations: 4 kB / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.1879, allocations: 0 / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1879, allocations: 0 / 0.733 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.1884, allocations: 381.4 kB / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1884, allocations: 0 / 0.7334 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.45e-05/0.1885, allocations: 11.98 kB / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.1885, allocations: 4 kB / 0.7334 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.1885, allocations: 4 kB / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.1885, allocations: 0 / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1885, allocations: 3.938 kB / 0.7334 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.1889, allocations: 243.3 kB / 0.7336 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.655e-06/0.1889, allocations: 4 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.998e-05/0.1889, allocations: 4 kB / 0.7336 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.189, allocations: 11.98 kB / 0.7336 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.1891, allocations: 7.922 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1891, allocations: 4.25 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.772e-05/0.1891, allocations: 99.2 kB / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.1891, allocations: 0 / 0.7338 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002376/0.1894, allocations: 20 kB / 0.7338 GB, free: 11.4 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.0006963/0.1901, allocations: 0.7673 MB / 0.7345 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003069/0.1904, allocations: 103.9 kB / 0.7346 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1904, allocations: 0 / 0.7346 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.1905, allocations: 43.91 kB / 0.7347 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.1908, allocations: 21.94 kB / 0.7347 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.1925, allocations: 1.496 MB / 0.7361 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.1929, allocations: 0.6884 MB / 0.7368 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.1929, allocations: 12.42 kB / 0.7368 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.1929, allocations: 15.44 kB / 0.7368 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of SimCode: time 2.7e-07/0.1929, allocations: 0 / 0.7368 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02774/0.2207, allocations: 2.218 MB / 0.739 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/10.79, allocations: 12.86 kB / 0.739 GB, free: 6.023 MB / 0.5606 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Discrete_Validation_FirstOrderHold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.FirstOrderHold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.357753735035658] Failed to read output from testmodel.py, exit status != 0: 10.891500992001966 10.907815587 10.721729325 Calling exit ...