Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001794/0.001794, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002368/0.002368, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 8 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.9116/0.9116, allocations: 134 MB / 446.4 MB, free: 10.22 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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",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.00214/0.00214, allocations: 70.48 kB / 0.6185 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1755, allocations: 85.9 MB / 0.7024 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006605/0.1821, allocations: 4.141 MB / 0.7065 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002519/0.1824, allocations: 171.4 kB / 0.7066 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.836e-05/0.1824, allocations: 3.938 kB / 0.7066 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.1825, allocations: 3.984 kB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.236e-05/0.1826, allocations: 7.938 kB / 0.7066 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.1829, allocations: 87.84 kB / 0.7067 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.1831, allocations: 35.84 kB / 0.7068 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.1831, allocations: 4 kB / 0.7068 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.843e-05/0.1832, allocations: 19.97 kB / 0.7068 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.785e-05/0.1832, allocations: 15.88 kB / 0.7068 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.033e-05/0.1833, allocations: 0 / 0.7068 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002373/0.1835, allocations: 83.77 kB / 0.7069 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.1835, allocations: 7.984 kB / 0.7069 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.885e-05/0.1836, allocations: 11.92 kB / 0.7069 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.1837, allocations: 64.14 kB / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1837, allocations: 0 / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1837, allocations: 0 / 0.707 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.1837, allocations: 0 / 0.707 GB, free: 12.73 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004098/0.1841, allocations: 262.3 kB / 0.7072 GB, free: 12.44 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1842, allocations: 8.031 kB / 0.7072 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.5e-05/0.1842, allocations: 34.73 kB / 0.7072 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.408e-05/0.1843, allocations: 4.938 kB / 0.7073 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.1844, allocations: 106.5 kB / 0.7074 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.559e-05/0.1845, allocations: 59.91 kB / 0.7074 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.1845, allocations: 8.125 kB / 0.7074 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1846, allocations: 45.67 kB / 0.7075 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1846, allocations: 4 kB / 0.7075 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.1846, allocations: 3.938 kB / 0.7075 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.1847, allocations: 0 / 0.7075 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.721e-05/0.1847, allocations: 15.98 kB / 0.7075 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1851, allocations: 235.9 kB / 0.7077 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.567e-05/0.1852, allocations: 22.52 kB / 0.7077 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.1852, allocations: 4.859 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.192e-05/0.1853, allocations: 8.062 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.162e-05/0.1853, allocations: 38.55 kB / 0.7078 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.1853, allocations: 0 / 0.7078 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001384/0.1854, allocations: 33.7 kB / 0.7078 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.1855, allocations: 55.34 kB / 0.7079 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.898e-05/0.1856, allocations: 105.8 kB / 0.708 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.1856, allocations: 25.83 kB / 0.708 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.1857, allocations: 88.09 kB / 0.7081 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.722e-06/0.1857, allocations: 4 kB / 0.7081 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.1857, allocations: 21.67 kB / 0.7081 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.1859, allocations: 322.7 kB / 0.7084 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.488e-05/0.1859, allocations: 0 / 0.7084 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.662e-05/0.1859, allocations: 13.72 kB / 0.7084 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.969e-05/0.1859, allocations: 25.72 kB / 0.7084 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1859, allocations: 3.984 kB / 0.7084 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.424e-05/0.186, allocations: 45.64 kB / 0.7085 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.186, allocations: 8 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.186, allocations: 0 / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.1861, allocations: 0 / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.771e-05/0.1861, allocations: 7.984 kB / 0.7085 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.1861, allocations: 0 / 0.7085 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.198e-05/0.1861, allocations: 8.062 kB / 0.7085 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1861, allocations: 0 / 0.7085 GB, free: 10.91 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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.434e-05/0.1862, allocations: 121.7 kB / 0.7086 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.6e-05/0.1863, allocations: 0 / 0.7086 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.1864, allocations: 117 kB / 0.7087 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.738e-05/0.1865, allocations: 180.3 kB / 0.7089 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.83e-05/0.1866, allocations: 184.2 kB / 0.7091 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.481e-05/0.1866, allocations: 184.3 kB / 0.7093 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.1869, allocations: 376.2 kB / 0.7096 GB, free: 9.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-05/0.1869, allocations: 108.9 kB / 0.7097 GB, free: 9.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.031e-05/0.187, allocations: 116.9 kB / 0.7098 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-05/0.1871, allocations: 176.3 kB / 0.71 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.612e-05/0.1872, allocations: 180.3 kB / 0.7102 GB, free: 9.086 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.942e-05/0.1873, allocations: 184.2 kB / 0.7104 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.27e-05/0.1873, allocations: 176.3 kB / 0.7105 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001869/0.1875, allocations: 315.6 kB / 0.7108 GB, free: 8.387 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.1876, allocations: 105 kB / 0.7109 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.805e-05/0.1877, allocations: 184.2 kB / 0.7111 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.1878, allocations: 109.2 kB / 0.7112 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.1879, allocations: 184.2 kB / 0.7114 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.118e-05/0.188, allocations: 101 kB / 0.7115 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.575e-05/0.188, allocations: 83.27 kB / 0.7116 GB, free: 7.602 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.188, allocations: 4 kB / 0.7116 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002614/0.1883, allocations: 23.88 kB / 0.7116 GB, free: 7.574 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 (0): * Single equations (assignments): 0 * 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.000575/0.1889, allocations: 0.8242 MB / 0.7124 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.383e-05/0.189, allocations: 8 kB / 0.7124 GB, free: 6.711 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.189, allocations: 4.125 kB / 0.7124 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.189, allocations: 0 / 0.7124 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.1895, allocations: 457.7 kB / 0.7128 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.1908, allocations: 1.336 MB / 0.7141 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.1912, allocations: 0.6729 MB / 0.7148 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.666e-05/0.1912, allocations: 10.94 kB / 0.7148 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.1912, allocations: 7.438 kB / 0.7148 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of SimCode: time 4.51e-07/0.1912, allocations: 0 / 0.7148 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02958/0.2208, allocations: 1.573 MB / 0.7164 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.18, allocations: 10.56 kB / 0.7164 GB, free: 2.676 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.903204669011757] Failed to read output from testmodel.py, exit status != 0: 11.283197174081579 11.30967938 11.121282925 Calling exit ...