Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001723/0.001723, allocations: 108.7 kB / 16.45 MB, free: 6.453 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.001894/0.001894, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.405/1.405, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.873/0.873, allocations: 133.9 MB / 442.8 MB, free: 11.7 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001843/0.001843, allocations: 66.11 kB / 0.6134 GB, free: 8.766 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1764, allocations: 85.85 MB / 0.6973 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002945/0.1794, allocations: 1.611 MB / 0.6988 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1811, allocations: 0.9747 MB / 0.6998 GB, free: 396 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.158e-05/0.1811, allocations: 7.938 kB / 0.6998 GB, free: 388 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.1812, allocations: 7.922 kB / 0.6998 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001979/0.1814, allocations: 19.8 kB / 0.6998 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004145/0.1818, allocations: 166 kB / 0.7 GB, free: 196 kB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.1819, allocations: 83.66 kB / 0.7001 GB, free: 112 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.99e-05/0.182, allocations: 8 kB / 0.7001 GB, free: 104 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001404/0.1822, allocations: 47.77 kB / 0.7001 GB, free: 56 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.68e-05/0.1823, allocations: 27.86 kB / 0.7001 GB, free: 28 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.1823, allocations: 4 kB / 0.7002 GB, free: 24 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.1827, allocations: 291.6 kB / 0.7004 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.452e-05/0.1827, allocations: 19.91 kB / 0.7005 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.976e-05/0.1828, allocations: 35.8 kB / 0.7005 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.183, allocations: 151.5 kB / 0.7006 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.183, allocations: 0 / 0.7006 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.183, allocations: 0 / 0.7006 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.183, allocations: 0 / 0.7006 GB, free: 15.54 MB / 0.5294 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.0006088/0.1836, allocations: 410.8 kB / 0.701 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.1837, allocations: 13.11 kB / 0.701 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.63e-05/0.1837, allocations: 38.69 kB / 0.7011 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002666/0.184, allocations: 36.86 kB / 0.7011 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1842, allocations: 198.9 kB / 0.7013 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.1843, allocations: 12.06 kB / 0.7013 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.1843, allocations: 0 / 0.7013 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1845, allocations: 61.61 kB / 0.7014 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1845, allocations: 4 kB / 0.7014 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1845, allocations: 11.98 kB / 0.7014 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1845, allocations: 0 / 0.7014 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.1846, allocations: 39.97 kB / 0.7014 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.1851, allocations: 300.7 kB / 0.7017 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1853, allocations: 54.56 kB / 0.7018 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.513e-05/0.1854, allocations: 28.97 kB / 0.7018 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.943e-05/0.1854, allocations: 80 / 0.7018 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.1854, allocations: 34.56 kB / 0.7018 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1854, allocations: 0 / 0.7018 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0003737/0.1858, allocations: 109.5 kB / 0.7019 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1858, allocations: 55.41 kB / 0.702 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1859, allocations: 134.2 kB / 0.7021 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.186, allocations: 25.7 kB / 0.7021 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.867e-05/0.186, allocations: 108.1 kB / 0.7022 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.1861, allocations: 11.84 kB / 0.7022 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.149e-05/0.1861, allocations: 21.7 kB / 0.7023 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1862, allocations: 322.8 kB / 0.7026 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.351e-05/0.1863, allocations: 23.98 kB / 0.7026 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.1864, allocations: 19.98 kB / 0.7026 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.1866, allocations: 60.77 kB / 0.7027 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1866, allocations: 0 / 0.7027 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000222/0.1868, allocations: 93.56 kB / 0.7028 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1868, allocations: 8 kB / 0.7028 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1868, allocations: 0 / 0.7028 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1868, allocations: 4 kB / 0.7028 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1869, allocations: 15.98 kB / 0.7028 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1869, allocations: 0 / 0.7028 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.048e-05/0.187, allocations: 7.938 kB / 0.7028 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.187, allocations: 3.984 kB / 0.7028 GB, free: 13.08 MB / 0.5294 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 9.443e-05/0.1871, allocations: 113.8 kB / 0.7029 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.1871, allocations: 7.953 kB / 0.7029 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002686/0.1874, allocations: 106.3 kB / 0.703 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1874, allocations: 3.938 kB / 0.703 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.1874, allocations: 8.062 kB / 0.703 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1874, allocations: 3.938 kB / 0.703 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/0.1876, allocations: 177.6 kB / 0.7032 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1876, allocations: 0 / 0.7032 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.1877, allocations: 15.98 kB / 0.7032 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1877, allocations: 0 / 0.7032 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1877, allocations: 0 / 0.7032 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1877, allocations: 3.938 kB / 0.7032 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1877, allocations: 8 kB / 0.7032 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.188, allocations: 191.3 kB / 0.7034 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.118e-05/0.1881, allocations: 89.05 kB / 0.7035 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.1881, allocations: 4 kB / 0.7035 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.1882, allocations: 7.984 kB / 0.7035 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.1882, allocations: 0 / 0.7035 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.637e-06/0.1882, allocations: 11.94 kB / 0.7035 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.98e-05/0.1883, allocations: 105.3 kB / 0.7036 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1883, allocations: 0 / 0.7036 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002431/0.1885, allocations: 27.89 kB / 0.7036 GB, free: 12.11 MB / 0.5294 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.0007686/0.1893, allocations: 0.7319 MB / 0.7044 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.1895, allocations: 51.95 kB / 0.7044 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1895, allocations: 0 / 0.7044 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.942e-05/0.1896, allocations: 31.92 kB / 0.7044 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.1899, allocations: 18.17 kB / 0.7045 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1917, allocations: 1.486 MB / 0.7059 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.192, allocations: 0.6963 MB / 0.7066 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.1921, allocations: 8 kB / 0.7066 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.1921, allocations: 23.42 kB / 0.7066 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1921, allocations: 4 kB / 0.7066 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.2182, allocations: 2.361 MB / 0.7089 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/7.958, allocations: 3.812 kB / 0.7089 GB, free: 6.711 MB / 0.5294 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 IDEAS_IDEAS_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.574361811988638] Failed to read output from testmodel.py, exit status != 0: 8.025932987002307 8.04971183 7.862476355 Calling exit ...