Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.001258/0.001258, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00147/0.00147, allocations: 214.3 kB / 23.03 MB, free: 4.949 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8964/0.8964, allocations: 134 MB / 447.2 MB, free: 9.898 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="cs",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.001915/0.001915, allocations: 66.34 kB / 0.6192 GB, free: 6.891 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.177, allocations: 85.92 MB / 0.7031 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.006522/0.1835, allocations: 3.625 MB / 0.7067 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002315/0.1837, allocations: 147.6 kB / 0.7068 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.461e-05/0.1838, allocations: 0 / 0.7068 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.1839, allocations: 3.938 kB / 0.7068 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.1839, allocations: 15.91 kB / 0.7068 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.1843, allocations: 92.91 kB / 0.7069 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.049e-05/0.1844, allocations: 31.86 kB / 0.7069 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.1845, allocations: 11.94 kB / 0.707 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.588e-05/0.1845, allocations: 15.97 kB / 0.707 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.427e-05/0.1846, allocations: 4 kB / 0.707 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.1846, allocations: 4 kB / 0.707 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006507/0.1853, allocations: 211.6 kB / 0.7072 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.746e-05/0.1853, allocations: 19.91 kB / 0.7072 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.1853, allocations: 4 kB / 0.7072 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1855, allocations: 55.88 kB / 0.7073 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1855, allocations: 0 / 0.7073 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1855, allocations: 7.938 kB / 0.7073 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.1855, allocations: 0 / 0.7073 GB, free: 12.8 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.0004863/0.186, allocations: 258.3 kB / 0.7075 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.186, allocations: 12.03 kB / 0.7075 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.847e-05/0.1861, allocations: 192 / 0.7075 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.1861, allocations: 34.69 kB / 0.7076 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1861, allocations: 4.938 kB / 0.7076 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1862, allocations: 110.5 kB / 0.7077 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.973e-05/0.1863, allocations: 59.95 kB / 0.7077 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1863, allocations: 3.938 kB / 0.7077 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1865, allocations: 71.33 kB / 0.7078 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.1865, allocations: 0 / 0.7078 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.1865, allocations: 4 kB / 0.7078 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1865, allocations: 4 kB / 0.7078 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.946e-05/0.1866, allocations: 11.98 kB / 0.7078 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.187, allocations: 231.9 kB / 0.708 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.835e-05/0.1871, allocations: 22.61 kB / 0.7081 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.1871, allocations: 4.859 kB / 0.7081 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.023e-05/0.1872, allocations: 16 kB / 0.7081 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.1872, allocations: 34.56 kB / 0.7081 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.1872, allocations: 0 / 0.7081 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001569/0.1873, allocations: 37.69 kB / 0.7081 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.1874, allocations: 51.41 kB / 0.7082 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.1875, allocations: 97.86 kB / 0.7083 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.1875, allocations: 25.7 kB / 0.7083 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.359e-05/0.1875, allocations: 92.08 kB / 0.7084 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.56e-06/0.1876, allocations: 0 / 0.7084 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.1876, allocations: 21.67 kB / 0.7084 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1877, allocations: 314.8 kB / 0.7087 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.797e-05/0.1878, allocations: 12.06 kB / 0.7087 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.313e-05/0.1878, allocations: 21.7 kB / 0.7087 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.486e-05/0.1878, allocations: 17.72 kB / 0.7088 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.1878, allocations: 0 / 0.7088 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.03e-05/0.1879, allocations: 49.91 kB / 0.7088 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1879, allocations: 7.938 kB / 0.7088 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1879, allocations: 4 kB / 0.7088 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1879, allocations: 4 kB / 0.7088 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.672e-05/0.188, allocations: 8.062 kB / 0.7088 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.188, allocations: 0 / 0.7088 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.188, allocations: 4 kB / 0.7088 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.188, allocations: 15.91 kB / 0.7089 GB, free: 10.95 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 8.167e-05/0.1881, allocations: 109.8 kB / 0.709 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.671e-05/0.1881, allocations: 0 / 0.709 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.1883, allocations: 116.9 kB / 0.7091 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.18e-05/0.1884, allocations: 184.2 kB / 0.7092 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.875e-05/0.1884, allocations: 180.2 kB / 0.7094 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.828e-05/0.1885, allocations: 180.3 kB / 0.7096 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.1888, allocations: 396.1 kB / 0.71 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-05/0.1889, allocations: 104.9 kB / 0.7101 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.798e-05/0.1889, allocations: 101 kB / 0.7102 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001115/0.189, allocations: 184.2 kB / 0.7103 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.642e-05/0.1891, allocations: 176.3 kB / 0.7105 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.26e-05/0.1892, allocations: 180.2 kB / 0.7107 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.913e-05/0.1893, allocations: 184.2 kB / 0.7109 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.1895, allocations: 311.7 kB / 0.7112 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.1896, allocations: 105 kB / 0.7113 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.1897, allocations: 188.2 kB / 0.7114 GB, free: 8.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.1898, allocations: 109 kB / 0.7115 GB, free: 8.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.1899, allocations: 176.3 kB / 0.7117 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.293e-05/0.19, allocations: 112.9 kB / 0.7118 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.19, allocations: 87.22 kB / 0.7119 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.19, allocations: 0 / 0.7119 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002746/0.1903, allocations: 12 kB / 0.7119 GB, free: 7.625 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.0005378/0.1908, allocations: 0.8204 MB / 0.7127 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.1909, allocations: 15.94 kB / 0.7127 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1909, allocations: 0 / 0.7127 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.973e-06/0.1909, allocations: 4.125 kB / 0.7127 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.1915, allocations: 463.7 kB / 0.7132 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.1929, allocations: 1.333 MB / 0.7145 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.675e-05/0.193, allocations: 63.28 kB / 0.7145 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.551e-05/0.193, allocations: 4.547 kB / 0.7145 GB, free: 4.793 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.193, allocations: 15.44 kB / 0.7146 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of SimCode: time 4.31e-07/0.193, allocations: 0 / 0.7146 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.2173, allocations: 1.681 MB / 0.7162 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.61, allocations: 11.11 kB / 0.7162 GB, free: 3.246 MB / 0.5294 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.357616537017748] Failed to read output from testmodel.py, exit status != 0: 11.77375262696296 11.792223398 11.602415621 Calling exit ...