Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001245/0.001245, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.00135/0.00135, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.446/1.446, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8437/0.8437, allocations: 133.9 MB / 443.5 MB, free: 13.8 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.002014/0.002014, allocations: 66.61 kB / 0.6141 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1444, allocations: 85.85 MB / 0.6979 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004995/0.1494, allocations: 3.369 MB / 0.7012 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0001049/0.1495, allocations: 55.69 kB / 0.7013 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.351e-05/0.1496, allocations: 0 / 0.7013 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.1497, allocations: 7.938 kB / 0.7013 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.1497, allocations: 14.91 kB / 0.7013 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1503, allocations: 180.4 kB / 0.7015 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.678e-05/0.1504, allocations: 32.98 kB / 0.7015 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.632e-05/0.1504, allocations: 9.219 kB / 0.7015 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.606e-05/0.1504, allocations: 21.94 kB / 0.7015 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.848e-05/0.1505, allocations: 18.75 kB / 0.7016 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.1505, allocations: 0 / 0.7016 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.1509, allocations: 175.3 kB / 0.7017 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.253e-05/0.1509, allocations: 9.375 kB / 0.7017 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.502e-05/0.1509, allocations: 13.53 kB / 0.7018 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002555/0.1512, allocations: 138.5 kB / 0.7019 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1512, allocations: 0 / 0.7019 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1512, allocations: 3.938 kB / 0.7019 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.1512, allocations: 0 / 0.7019 GB, free: 10.69 MB / 0.5137 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.0004503/0.1516, allocations: 352.2 kB / 0.7022 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1517, allocations: 10.8 kB / 0.7022 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.22e-05/0.1517, allocations: 192 / 0.7022 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.1517, allocations: 31.97 kB / 0.7023 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.1518, allocations: 6.344 kB / 0.7023 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.1519, allocations: 165.7 kB / 0.7024 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.172e-05/0.152, allocations: 27.55 kB / 0.7025 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.152, allocations: 13.11 kB / 0.7025 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1521, allocations: 43.36 kB / 0.7025 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.256e-06/0.1521, allocations: 1.438 kB / 0.7025 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.1521, allocations: 0 / 0.7025 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.1521, allocations: 1.312 kB / 0.7025 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.1522, allocations: 20.95 kB / 0.7025 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006616/0.1529, allocations: 0.5848 MB / 0.7031 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.47e-05/0.1529, allocations: 23.95 kB / 0.7031 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.68e-05/0.1529, allocations: 6.234 kB / 0.7031 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002568/0.1532, allocations: 338.3 kB / 0.7035 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.1532, allocations: 35.94 kB / 0.7035 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1532, allocations: 3.938 kB / 0.7035 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001455/0.1533, allocations: 39.12 kB / 0.7035 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.1534, allocations: 52.91 kB / 0.7036 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.792e-05/0.1535, allocations: 107.3 kB / 0.7037 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.1535, allocations: 27.08 kB / 0.7037 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.1535, allocations: 85.47 kB / 0.7038 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.492e-06/0.1536, allocations: 3.938 kB / 0.7038 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.504e-05/0.1536, allocations: 21.8 kB / 0.7038 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1537, allocations: 320.1 kB / 0.7041 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.422e-05/0.1537, allocations: 1.375 kB / 0.7041 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.813e-05/0.1538, allocations: 21.84 kB / 0.7041 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.1538, allocations: 20.53 kB / 0.7042 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1538, allocations: 0 / 0.7042 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.309e-05/0.1539, allocations: 51.12 kB / 0.7042 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1539, allocations: 8 kB / 0.7042 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1539, allocations: 0 / 0.7042 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1539, allocations: 0 / 0.7042 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.515e-05/0.154, allocations: 12.05 kB / 0.7042 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.154, allocations: 0 / 0.7042 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.965e-05/0.154, allocations: 4 kB / 0.7042 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.154, allocations: 7.938 kB / 0.7042 GB, free: 8.023 MB / 0.5137 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.074e-05/0.1541, allocations: 114.5 kB / 0.7043 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.622e-05/0.1541, allocations: 0 / 0.7043 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001193/0.1542, allocations: 127.7 kB / 0.7045 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.379e-05/0.1543, allocations: 180.3 kB / 0.7046 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.179e-05/0.1544, allocations: 176.3 kB / 0.7048 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-05/0.1545, allocations: 188.2 kB / 0.705 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.1547, allocations: 401.2 kB / 0.7054 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.025e-05/0.1548, allocations: 108.9 kB / 0.7055 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.1548, allocations: 112.9 kB / 0.7056 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.571e-05/0.1549, allocations: 180.4 kB / 0.7058 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.088e-05/0.155, allocations: 184.2 kB / 0.7059 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.658e-05/0.155, allocations: 180.3 kB / 0.7061 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.341e-05/0.1551, allocations: 184.2 kB / 0.7063 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.1553, allocations: 315.7 kB / 0.7066 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.1554, allocations: 182 kB / 0.7068 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.519e-05/0.1555, allocations: 184.2 kB / 0.7069 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.1556, allocations: 108.9 kB / 0.707 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.1557, allocations: 188.5 kB / 0.7072 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.1558, allocations: 105 kB / 0.7073 GB, free: 4.656 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.1558, allocations: 91.14 kB / 0.7074 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1558, allocations: 0 / 0.7074 GB, free: 4.566 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003317/0.1562, allocations: 35.88 kB / 0.7074 GB, free: 4.531 MB / 0.5137 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.0006016/0.1568, allocations: 0.8594 MB / 0.7083 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.615e-05/0.1569, allocations: 11.94 kB / 0.7083 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1569, allocations: 0 / 0.7083 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.272e-06/0.1569, allocations: 4.125 kB / 0.7083 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.1573, allocations: 463.7 kB / 0.7087 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.1585, allocations: 1.328 MB / 0.71 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.1588, allocations: 0.6807 MB / 0.7107 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.968e-05/0.1588, allocations: 4 kB / 0.7107 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.1588, allocations: 11.44 kB / 0.7107 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1588, allocations: 0 / 0.7107 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.1763, allocations: 2.206 MB / 0.7129 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.199, allocations: 4.062 kB / 0.7129 GB, free: 15.04 MB / 0.5294 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.857130781980231] Failed to read output from testmodel.py, exit status != 0: 8.61639166000532 8.336986009 8.182844498 Calling exit ...