Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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.001262/0.001262, allocations: 105 kB / 20.48 MB, free: 1.48 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.001396/0.001396, allocations: 220.4 kB / 23.79 MB, free: 4.699 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.385/1.385, allocations: 230.6 MB / 257.6 MB, free: 7.992 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.914/0.914, allocations: 150 MB / 463.9 MB, free: 10.49 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.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",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.001902/0.001902, allocations: 65.91 kB / 0.642 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1757, allocations: 89.17 MB / 0.7291 GB, free: 1.273 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00322/0.1789, allocations: 1.603 MB / 0.7307 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.1806, allocations: 1.009 MB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.1807, allocations: 3.938 kB / 0.7317 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.1807, allocations: 7.922 kB / 0.7317 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.1809, allocations: 31.8 kB / 0.7317 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003882/0.1813, allocations: 155.2 kB / 0.7319 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.1815, allocations: 79.66 kB / 0.7319 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.468e-05/0.1816, allocations: 12.27 kB / 0.7319 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.1817, allocations: 47.78 kB / 0.732 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.948e-05/0.1818, allocations: 27.86 kB / 0.732 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1818, allocations: 8 kB / 0.732 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000434/0.1822, allocations: 295.6 kB / 0.7323 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.366e-05/0.1823, allocations: 19.92 kB / 0.7323 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.1823, allocations: 23.88 kB / 0.7323 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.1826, allocations: 163.3 kB / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1826, allocations: 0 / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1826, allocations: 0 / 0.7325 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1826, allocations: 0 / 0.7325 GB, free: 13.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005611/0.1831, allocations: 345.7 kB / 0.7328 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.1832, allocations: 11.97 kB / 0.7328 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.502e-05/0.1832, allocations: 192 / 0.7328 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.473e-05/0.1832, allocations: 38.75 kB / 0.7329 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002569/0.1835, allocations: 32.8 kB / 0.7329 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.1837, allocations: 136.7 kB / 0.733 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.1837, allocations: 3.938 kB / 0.733 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.1838, allocations: 8 kB / 0.7331 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1839, allocations: 65.66 kB / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1839, allocations: 0 / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.1839, allocations: 0 / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.184, allocations: 0 / 0.7331 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001506/0.1841, allocations: 47.91 kB / 0.7332 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004387/0.1845, allocations: 279.8 kB / 0.7334 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1847, allocations: 50.56 kB / 0.7335 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.77e-05/0.1848, allocations: 28.97 kB / 0.7335 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.635e-05/0.1848, allocations: 0 / 0.7335 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1848, allocations: 34.55 kB / 0.7335 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 7.61e-07/0.1848, allocations: 7.938 kB / 0.7335 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0003557/0.1852, allocations: 101.6 kB / 0.7336 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.1852, allocations: 55.41 kB / 0.7337 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.1853, allocations: 134.1 kB / 0.7338 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.1853, allocations: 29.7 kB / 0.7339 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.1854, allocations: 100.1 kB / 0.7339 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/0.1854, allocations: 11.91 kB / 0.734 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.771e-05/0.1855, allocations: 25.7 kB / 0.734 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.1856, allocations: 318.8 kB / 0.7343 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.812e-05/0.1857, allocations: 23.97 kB / 0.7343 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.1858, allocations: 19.98 kB / 0.7343 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1859, allocations: 60.77 kB / 0.7344 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1859, allocations: 0 / 0.7344 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002112/0.1861, allocations: 89.62 kB / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1862, allocations: 4 kB / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1862, allocations: 0 / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.1862, allocations: 0 / 0.7345 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.1863, allocations: 15.98 kB / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1863, allocations: 0 / 0.7345 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.322e-05/0.1864, allocations: 19.81 kB / 0.7345 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1864, allocations: 4.438 kB / 0.7345 GB, free: 11.53 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.845e-05/0.1865, allocations: 117.8 kB / 0.7346 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.1865, allocations: 7.953 kB / 0.7346 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.1868, allocations: 106 kB / 0.7347 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1868, allocations: 0 / 0.7347 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1868, allocations: 0 / 0.7347 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.1868, allocations: 3.938 kB / 0.7347 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.187, allocations: 152.7 kB / 0.7349 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.187, allocations: 3.938 kB / 0.7349 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.1871, allocations: 19.98 kB / 0.7349 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1871, allocations: 0 / 0.7349 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1871, allocations: 3.938 kB / 0.7349 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.1871, allocations: 0 / 0.7349 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.1871, allocations: 7.922 kB / 0.7349 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.1873, allocations: 191.4 kB / 0.7351 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.243e-05/0.1874, allocations: 7.953 kB / 0.7351 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1874, allocations: 11.98 kB / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.87e-05/0.1875, allocations: 0 / 0.7351 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1875, allocations: 11.92 kB / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1875, allocations: 0 / 0.7351 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.34e-05/0.1876, allocations: 105 kB / 0.7352 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1876, allocations: 0 / 0.7352 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002408/0.1878, allocations: 23.94 kB / 0.7353 GB, free: 10.7 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.0006711/0.1885, allocations: 0.7359 MB / 0.736 GB, free: 9.934 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.1887, allocations: 47.97 kB / 0.736 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1887, allocations: 4 kB / 0.736 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.1888, allocations: 36.22 kB / 0.7361 GB, free: 9.848 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.1891, allocations: 21.78 kB / 0.7361 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.1908, allocations: 1.47 MB / 0.7375 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.1911, allocations: 0.6968 MB / 0.7382 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.063e-05/0.1912, allocations: 7.938 kB / 0.7382 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.1912, allocations: 27.42 kB / 0.7382 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of SimCode: time 3.7e-07/0.1912, allocations: 0 / 0.7382 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03179/0.223, allocations: 2.519 MB / 0.7407 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.08, allocations: 4.062 kB / 0.7407 GB, free: 5.164 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.676664336991962] Failed to read output from testmodel.py, exit status != 0: 11.235135758994147 11.251503598 11.065492501 Calling exit ...