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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 192.7 kB / 16.13 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6966/0.6966, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001066/0.001066, allocations: 63.44 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1222, allocations: 80.2 MB / 0.5795 GB, free: 9.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003953/0.1261, allocations: 3.351 MB / 0.5828 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 8.214e-05/0.1262, allocations: 55.86 kB / 0.5828 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.289e-05/0.1263, allocations: 4 kB / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.231e-05/0.1263, allocations: 0 / 0.5828 GB, free: 5.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.178e-05/0.1264, allocations: 11.91 kB / 0.5828 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.1268, allocations: 170.1 kB / 0.583 GB, free: 5.547 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.081e-05/0.1269, allocations: 67.8 kB / 0.5831 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.593e-05/0.1269, allocations: 0 / 0.5831 GB, free: 5.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.127, allocations: 19.94 kB / 0.5831 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.396e-05/0.127, allocations: 11.97 kB / 0.5831 GB, free: 5.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.131e-05/0.1271, allocations: 8 kB / 0.5831 GB, free: 5.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.1273, allocations: 167.5 kB / 0.5833 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.244e-05/0.1274, allocations: 0 / 0.5833 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.1274, allocations: 19.91 kB / 0.5833 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.1276, allocations: 139.9 kB / 0.5834 GB, free: 5.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1277, allocations: 0 / 0.5834 GB, free: 5.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1277, allocations: 0 / 0.5834 GB, free: 5.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.096e-06/0.1277, allocations: 0 / 0.5834 GB, free: 5.121 MB / 494.1 MB 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.00034/0.128, allocations: 351.4 kB / 0.5838 GB, free: 4.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.1281, allocations: 16.03 kB / 0.5838 GB, free: 4.715 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.768e-05/0.1281, allocations: 30.75 kB / 0.5838 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.728e-05/0.1281, allocations: 0.9375 kB / 0.5838 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.76e-05/0.1282, allocations: 164.4 kB / 0.584 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.258e-05/0.1283, allocations: 26.27 kB / 0.584 GB, free: 4.445 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1283, allocations: 8.125 kB / 0.584 GB, free: 4.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.1284, allocations: 45.67 kB / 0.584 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.1284, allocations: 0 / 0.584 GB, free: 4.387 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1284, allocations: 4 kB / 0.584 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.1284, allocations: 0 / 0.584 GB, free: 4.383 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.13e-05/0.1285, allocations: 23.92 kB / 0.5841 GB, free: 4.359 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.129, allocations: 0.5794 MB / 0.5846 GB, free: 3.656 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.617e-05/0.1291, allocations: 18.64 kB / 0.5846 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.158e-05/0.1291, allocations: 8.859 kB / 0.5847 GB, free: 3.617 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001896/0.1293, allocations: 340.4 kB / 0.585 GB, free: 3.211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1293, allocations: 30.56 kB / 0.585 GB, free: 3.172 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.224e-06/0.1293, allocations: 4 kB / 0.585 GB, free: 3.168 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001387/0.1295, allocations: 53.45 kB / 0.5851 GB, free: 3.109 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.1295, allocations: 55.34 kB / 0.5851 GB, free: 3.043 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.1296, allocations: 97.86 kB / 0.5852 GB, free: 2.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.1296, allocations: 29.7 kB / 0.5852 GB, free: 2.902 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.523e-05/0.1296, allocations: 88.16 kB / 0.5853 GB, free: 2.812 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-06/0.1296, allocations: 4 kB / 0.5853 GB, free: 2.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.1297, allocations: 13.72 kB / 0.5853 GB, free: 2.789 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.009e-05/0.1298, allocations: 322.8 kB / 0.5856 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.343e-05/0.1298, allocations: 3.984 kB / 0.5856 GB, free: 2.461 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.704e-05/0.1298, allocations: 13.72 kB / 0.5857 GB, free: 2.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.405e-05/0.1298, allocations: 33.66 kB / 0.5857 GB, free: 2.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1299, allocations: 0 / 0.5857 GB, free: 2.402 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.814e-05/0.1299, allocations: 49.62 kB / 0.5857 GB, free: 2.348 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.1299, allocations: 4 kB / 0.5857 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.13, allocations: 4 kB / 0.5857 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.874e-06/0.13, allocations: 0 / 0.5857 GB, free: 2.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.559e-05/0.13, allocations: 4 kB / 0.5858 GB, free: 2.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.13, allocations: 3.984 kB / 0.5858 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.13, allocations: 7.938 kB / 0.5858 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1301, allocations: 0 / 0.5858 GB, free: 2.324 MB / 494.1 MB 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 6.342e-05/0.1301, allocations: 114.5 kB / 0.5859 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.795e-05/0.1302, allocations: 7.906 kB / 0.5859 GB, free: 2.195 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.937e-05/0.1302, allocations: 124.9 kB / 0.586 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.877e-05/0.1303, allocations: 176.3 kB / 0.5862 GB, free: 1.879 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.027e-05/0.1304, allocations: 176.3 kB / 0.5863 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.297e-05/0.1304, allocations: 184.2 kB / 0.5865 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1306, allocations: 409.2 kB / 0.5869 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-05/0.1306, allocations: 104.9 kB / 0.587 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1307, allocations: 105 kB / 0.5871 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.248e-05/0.1307, allocations: 184.2 kB / 0.5873 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/0.1308, allocations: 188.2 kB / 0.5875 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.3e-05/0.1308, allocations: 176.4 kB / 0.5876 GB, free: 284 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-05/0.1309, allocations: 184.2 kB / 0.5878 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.131, allocations: 311.8 kB / 0.5881 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.634e-05/0.1311, allocations: 182 kB / 0.5883 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.682e-05/0.1312, allocations: 180.3 kB / 0.5884 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.1313, allocations: 120.8 kB / 0.5886 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/0.1314, allocations: 176.3 kB / 0.5887 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.757e-05/0.1314, allocations: 105 kB / 0.5888 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.741e-05/0.1314, allocations: 91.2 kB / 0.5889 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1314, allocations: 0 / 0.5889 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002531/0.1317, allocations: 39.94 kB / 0.589 GB, free: 14.83 MB / 0.4981 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.0004185/0.1321, allocations: 0.8633 MB / 0.5898 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.399e-05/0.1322, allocations: 11.94 kB / 0.5898 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1322, allocations: 0 / 0.5898 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.1322, allocations: 0 / 0.5898 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.1326, allocations: 0.528 MB / 0.5903 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008255/0.1334, allocations: 1.33 MB / 0.5916 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.1336, allocations: 0.6731 MB / 0.5923 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.1337, allocations: 14.52 kB / 0.5923 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.1337, allocations: 7.438 kB / 0.5923 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1337, allocations: 0 / 0.5923 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3053/0.439, allocations: 2.007 MB / 0.5943 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002284/0.4393, allocations: 241.6 kB / 0.5945 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.058, allocations: 2.031 kB / 0.5945 GB, free: 9.211 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)