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.001272/0.001272, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001673/0.001673, allocations: 213.9 kB / 22.24 MB, free: 5.262 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.428/1.428, allocations: 230.6 MB / 256 MB, free: 7.793 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.8595/0.8595, allocations: 134 MB / 446.4 MB, free: 9.957 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.00202/0.00202, allocations: 71.12 kB / 0.6185 GB, free: 6.852 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1762, allocations: 85.91 MB / 0.7024 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00293/0.1791, allocations: 1.583 MB / 0.7039 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.1808, allocations: 0.9123 MB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.571e-05/0.1808, allocations: 0 / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.54e-05/0.1808, allocations: 11.88 kB / 0.7048 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.181, allocations: 27.78 kB / 0.7049 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1814, allocations: 151.5 kB / 0.705 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.1816, allocations: 87.58 kB / 0.7051 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.776e-05/0.1817, allocations: 7.984 kB / 0.7051 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1818, allocations: 39.92 kB / 0.7051 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.1819, allocations: 43.7 kB / 0.7052 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.1819, allocations: 4 kB / 0.7052 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003894/0.1823, allocations: 275.6 kB / 0.7054 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.1823, allocations: 8 kB / 0.7055 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.683e-05/0.1823, allocations: 27.8 kB / 0.7055 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.1826, allocations: 151.5 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1826, allocations: 0 / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1826, allocations: 0 / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.1826, allocations: 0 / 0.7056 GB, free: 13.7 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.0005601/0.1832, allocations: 349.7 kB / 0.706 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1832, allocations: 8.031 kB / 0.706 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.148e-05/0.1832, allocations: 34.75 kB / 0.706 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002526/0.1835, allocations: 28.86 kB / 0.706 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1837, allocations: 138.4 kB / 0.7062 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.1837, allocations: 8.062 kB / 0.7062 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.1837, allocations: 15.94 kB / 0.7062 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1839, allocations: 57.67 kB / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1839, allocations: 0 / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1839, allocations: 0 / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.1839, allocations: 0 / 0.7062 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001441/0.1841, allocations: 43.95 kB / 0.7063 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000427/0.1845, allocations: 267.9 kB / 0.7065 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.1846, allocations: 54.5 kB / 0.7066 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.1847, allocations: 28.97 kB / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.1847, allocations: 0 / 0.7066 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.1848, allocations: 30.56 kB / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.1848, allocations: 0 / 0.7066 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0003604/0.1851, allocations: 109.6 kB / 0.7067 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.1852, allocations: 55.34 kB / 0.7068 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.1853, allocations: 140.7 kB / 0.7069 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1853, allocations: 25.7 kB / 0.707 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.1854, allocations: 100.1 kB / 0.7071 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1854, allocations: 15.84 kB / 0.7071 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.1854, allocations: 25.7 kB / 0.7071 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1856, allocations: 318.8 kB / 0.7074 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.512e-05/0.1856, allocations: 19.98 kB / 0.7074 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.109e-05/0.1857, allocations: 27.97 kB / 0.7074 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1859, allocations: 52.84 kB / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1859, allocations: 384 / 0.7075 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000214/0.1861, allocations: 109.4 kB / 0.7076 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.1861, allocations: 4 kB / 0.7076 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-06/0.1861, allocations: 0 / 0.7076 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.1861, allocations: 0 / 0.7076 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001118/0.1862, allocations: 15.98 kB / 0.7076 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1862, allocations: 3.984 kB / 0.7076 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.113e-05/0.1863, allocations: 11.92 kB / 0.7076 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1863, allocations: 4 kB / 0.7076 GB, free: 11.44 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 8.638e-05/0.1864, allocations: 113.8 kB / 0.7077 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.1864, allocations: 11.94 kB / 0.7078 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.1867, allocations: 106 kB / 0.7079 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1867, allocations: 3.938 kB / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1867, allocations: 0 / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1867, allocations: 3.938 kB / 0.7079 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1869, allocations: 148.7 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1869, allocations: 4 kB / 0.708 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.125e-05/0.1869, allocations: 11.98 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.187, allocations: 4 kB / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.096e-06/0.187, allocations: 0 / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.187, allocations: 0 / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.187, allocations: 0 / 0.708 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.1872, allocations: 191.4 kB / 0.7082 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.1872, allocations: 3.953 kB / 0.7082 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1873, allocations: 4 kB / 0.7082 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.1873, allocations: 8.125 kB / 0.7082 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.899e-05/0.1874, allocations: 11.98 kB / 0.7082 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.1874, allocations: 7.938 kB / 0.7082 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.804e-05/0.1875, allocations: 103.2 kB / 0.7083 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1875, allocations: 0 / 0.7083 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002394/0.1877, allocations: 31.89 kB / 0.7084 GB, free: 10.61 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.0006469/0.1883, allocations: 0.719 MB / 0.7091 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1886, allocations: 63.89 kB / 0.7091 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1886, allocations: 0 / 0.7091 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.1886, allocations: 27.98 kB / 0.7092 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.1889, allocations: 18.73 kB / 0.7092 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1907, allocations: 1.49 MB / 0.7106 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.255e-05/0.1907, allocations: 75.33 kB / 0.7107 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.637e-05/0.1908, allocations: 7.984 kB / 0.7107 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.435e-05/0.1908, allocations: 23.44 kB / 0.7107 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1908, allocations: 4 kB / 0.7107 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.2194, allocations: 2.916 MB / 0.7136 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.1, allocations: 14.47 kB / 0.7136 GB, free: 5.281 MB / 0.5294 GB " [Timeout remaining time 649] (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: 14.759651931934059] Failed to read output from testmodel.py, exit status != 0: 11.20662779873237 11.236884656 11.048928503 Calling exit ...