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.001303/0.001303, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001422/0.001422, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 7.992 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.8594/0.8594, allocations: 134 MB / 446.4 MB, free: 10.19 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.001927/0.001927, allocations: 70.45 kB / 0.6186 GB, free: 7.188 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.1757, allocations: 85.9 MB / 0.7024 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003041/0.1787, allocations: 1.633 MB / 0.704 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1804, allocations: 0.9902 MB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.071e-05/0.1805, allocations: 3.938 kB / 0.705 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.727e-05/0.1806, allocations: 7.938 kB / 0.705 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000226/0.1808, allocations: 27.78 kB / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004026/0.1812, allocations: 155.5 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1814, allocations: 83.64 kB / 0.7053 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1815, allocations: 11.98 kB / 0.7053 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.1816, allocations: 43.86 kB / 0.7053 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1817, allocations: 35.83 kB / 0.7054 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1818, allocations: 4 kB / 0.7054 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004282/0.1822, allocations: 287.7 kB / 0.7056 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.1822, allocations: 11.92 kB / 0.7056 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.1823, allocations: 35.8 kB / 0.7057 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002787/0.1825, allocations: 155.4 kB / 0.7058 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1825, allocations: 0 / 0.7058 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.724e-06/0.1825, allocations: 0 / 0.7058 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1826, allocations: 0 / 0.7058 GB, free: 13.88 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.0006262/0.1832, allocations: 348.3 kB / 0.7062 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.1832, allocations: 12.03 kB / 0.7062 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.1833, allocations: 30.75 kB / 0.7062 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002745/0.1835, allocations: 32.86 kB / 0.7062 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.1838, allocations: 134.4 kB / 0.7064 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1838, allocations: 16.12 kB / 0.7064 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.105e-05/0.1838, allocations: 3.938 kB / 0.7064 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.184, allocations: 57.67 kB / 0.7064 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.184, allocations: 7.875 kB / 0.7064 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.184, allocations: 4 kB / 0.7064 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.184, allocations: 0 / 0.7064 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1842, allocations: 39.97 kB / 0.7065 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.1847, allocations: 279.8 kB / 0.7068 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001448/0.1848, allocations: 50.55 kB / 0.7068 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.975e-05/0.1849, allocations: 24.97 kB / 0.7068 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.1849, allocations: 7.922 kB / 0.7068 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1849, allocations: 42.56 kB / 0.7069 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1849, allocations: 0 / 0.7069 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0003755/0.1853, allocations: 101.6 kB / 0.707 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1854, allocations: 51.41 kB / 0.707 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1855, allocations: 138.1 kB / 0.7071 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1855, allocations: 25.7 kB / 0.7072 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1856, allocations: 96.14 kB / 0.7073 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1856, allocations: 19.84 kB / 0.7073 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.1857, allocations: 25.7 kB / 0.7073 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.1858, allocations: 322.8 kB / 0.7076 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.783e-05/0.1859, allocations: 19.98 kB / 0.7076 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.186, allocations: 23.92 kB / 0.7077 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1861, allocations: 57.2 kB / 0.7077 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1861, allocations: 4 kB / 0.7077 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002227/0.1863, allocations: 93.58 kB / 0.7078 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1864, allocations: 8 kB / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.1864, allocations: 3.984 kB / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.1864, allocations: 0 / 0.7078 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.1865, allocations: 12 kB / 0.7078 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.1865, allocations: 7.922 kB / 0.7078 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.281e-05/0.1866, allocations: 7.938 kB / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.034e-06/0.1866, allocations: 4 kB / 0.7078 GB, free: 11.62 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.859e-05/0.1867, allocations: 113.8 kB / 0.708 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.105e-05/0.1867, allocations: 7.953 kB / 0.708 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.187, allocations: 98.05 kB / 0.7081 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.187, allocations: 4 kB / 0.7081 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.187, allocations: 3.938 kB / 0.7081 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.187, allocations: 3.938 kB / 0.7081 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1872, allocations: 156.7 kB / 0.7082 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1872, allocations: 4 kB / 0.7082 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.237e-05/0.1873, allocations: 11.94 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1873, allocations: 0 / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.1873, allocations: 7.984 kB / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1873, allocations: 0 / 0.7082 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1873, allocations: 3.938 kB / 0.7082 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000273/0.1876, allocations: 195.5 kB / 0.7084 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.627e-05/0.1876, allocations: 7.953 kB / 0.7084 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1876, allocations: 0 / 0.7084 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/0.1877, allocations: 4 kB / 0.7084 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.1877, allocations: 7.984 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1877, allocations: 7.938 kB / 0.7085 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.255e-05/0.1878, allocations: 101.7 kB / 0.7086 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1878, allocations: 0 / 0.7086 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002474/0.1881, allocations: 31.88 kB / 0.7086 GB, free: 10.79 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.0006532/0.1887, allocations: 0.7281 MB / 0.7093 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002067/0.1889, allocations: 51.97 kB / 0.7093 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.319e-06/0.1889, allocations: 4 kB / 0.7093 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.328e-05/0.189, allocations: 35.91 kB / 0.7094 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.1893, allocations: 12.81 kB / 0.7094 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.191, allocations: 1.478 MB / 0.7108 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.1914, allocations: 0.6963 MB / 0.7115 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 5.238e-05/0.1914, allocations: 4 kB / 0.7115 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.1915, allocations: 27.42 kB / 0.7115 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of SimCode: time 4.7e-07/0.1915, allocations: 0 / 0.7115 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.2199, allocations: 2.494 MB / 0.714 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.94, allocations: 2.656 kB / 0.714 GB, free: 5.273 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.604669006999757] Failed to read output from testmodel.py, exit status != 0: 11.04746262000117 11.076132006 10.888635956 Calling exit ...