Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_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.001573/0.001572, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.386/1.386, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8995/0.8995, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 59.14 kB / 0.5054 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1348, allocations: 80.93 MB / 0.5845 GB, free: 4.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004663/0.1396, allocations: 3.266 MB / 0.5877 GB, free: 1.168 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 9.945e-05/0.1397, allocations: 59.86 kB / 0.5877 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.292e-05/0.1397, allocations: 0 / 0.5877 GB, free: 1.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.362e-05/0.1398, allocations: 7.922 kB / 0.5877 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.552e-05/0.1399, allocations: 11.92 kB / 0.5877 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000548/0.1405, allocations: 178.7 kB / 0.5879 GB, free: 0.918 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.584e-05/0.1405, allocations: 43.84 kB / 0.588 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.081e-05/0.1406, allocations: 0 / 0.588 GB, free: 0.875 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.949e-05/0.1406, allocations: 19.92 kB / 0.588 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.235e-05/0.1407, allocations: 15.92 kB / 0.588 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1407, allocations: 0 / 0.588 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003457/0.1411, allocations: 167.6 kB / 0.5881 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.1411, allocations: 7.984 kB / 0.5882 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.949e-05/0.1411, allocations: 15.92 kB / 0.5882 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.1414, allocations: 136 kB / 0.5883 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.1414, allocations: 0 / 0.5883 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1414, allocations: 4 kB / 0.5883 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1415, allocations: 0 / 0.5883 GB, free: 0.5156 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.0003741/0.1418, allocations: 351.4 kB / 0.5886 GB, free: 128 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1419, allocations: 8.031 kB / 0.5886 GB, free: 120 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.1419, allocations: 34.75 kB / 0.5887 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.26e-05/0.142, allocations: 8.875 kB / 0.5887 GB, free: 68 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1421, allocations: 160.4 kB / 0.5888 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.405e-05/0.1421, allocations: 30.27 kB / 0.5889 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.1422, allocations: 12.12 kB / 0.5889 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1423, allocations: 41.67 kB / 0.5889 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1423, allocations: 4 kB / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.988e-06/0.1423, allocations: 0 / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.1423, allocations: 0 / 0.5889 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.1424, allocations: 15.98 kB / 0.5889 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.143, allocations: 0.5871 MB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.862e-05/0.143, allocations: 26.58 kB / 0.5895 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.552e-05/0.143, allocations: 8.922 kB / 0.5895 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002129/0.1433, allocations: 336.4 kB / 0.5899 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/0.1433, allocations: 34.5 kB / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.675e-06/0.1433, allocations: 0 / 0.5899 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001365/0.1434, allocations: 53.47 kB / 0.59 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1435, allocations: 51.41 kB / 0.59 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.182e-05/0.1435, allocations: 106 kB / 0.5901 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.1436, allocations: 29.7 kB / 0.5901 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.1436, allocations: 80.14 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.452e-06/0.1436, allocations: 3.906 kB / 0.5902 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.1437, allocations: 13.72 kB / 0.5902 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.1438, allocations: 322.8 kB / 0.5905 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.477e-05/0.1438, allocations: 4 kB / 0.5905 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.251e-05/0.1438, allocations: 17.72 kB / 0.5906 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.264e-05/0.1438, allocations: 21.66 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1439, allocations: 4 kB / 0.5906 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.386e-05/0.1439, allocations: 45.69 kB / 0.5906 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.1439, allocations: 4 kB / 0.5906 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.144, allocations: 0 / 0.5906 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.144, allocations: 0 / 0.5906 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.555e-05/0.144, allocations: 19.98 kB / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.144, allocations: 0 / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.886e-05/0.1441, allocations: 3.938 kB / 0.5906 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.1441, allocations: 4 kB / 0.5907 GB, free: 13.71 MB / 0.4981 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 6.433e-05/0.1441, allocations: 109.8 kB / 0.5908 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.917e-05/0.1442, allocations: 3.906 kB / 0.5908 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.767e-05/0.1443, allocations: 121.2 kB / 0.5909 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.413e-05/0.1443, allocations: 188.2 kB / 0.5911 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.063e-05/0.1444, allocations: 176.3 kB / 0.5912 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/0.1445, allocations: 184.2 kB / 0.5914 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.1447, allocations: 409.2 kB / 0.5918 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.943e-05/0.1447, allocations: 101.1 kB / 0.5919 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.577e-05/0.1447, allocations: 112.9 kB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.837e-05/0.1448, allocations: 184.3 kB / 0.5922 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.426e-05/0.1449, allocations: 184.2 kB / 0.5923 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.025e-05/0.1449, allocations: 176.3 kB / 0.5925 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.818e-05/0.145, allocations: 176.3 kB / 0.5927 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001197/0.1451, allocations: 319.7 kB / 0.593 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.398e-05/0.1452, allocations: 190 kB / 0.5932 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.982e-05/0.1452, allocations: 176.3 kB / 0.5933 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.1454, allocations: 112.9 kB / 0.5934 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.1455, allocations: 180.2 kB / 0.5936 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-05/0.1455, allocations: 105 kB / 0.5937 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.663e-05/0.1455, allocations: 91.27 kB / 0.5938 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1456, allocations: 3.938 kB / 0.5938 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002766/0.1458, allocations: 35.94 kB / 0.5938 GB, free: 10.23 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.0004598/0.1463, allocations: 0.866 MB / 0.5947 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.359e-05/0.1464, allocations: 8 kB / 0.5947 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1464, allocations: 0 / 0.5947 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.1464, allocations: 4.125 kB / 0.5947 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1468, allocations: 471.6 kB / 0.5951 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009111/0.1477, allocations: 1.317 MB / 0.5964 GB, free: 7.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.1479, allocations: 0.6807 MB / 0.5971 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.14e-05/0.148, allocations: 4 kB / 0.5971 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.148, allocations: 11.44 kB / 0.5971 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.148, allocations: 0 / 0.5971 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6264/0.7744, allocations: 2.123 MB / 0.5992 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.4, allocations: 6.094 kB / 0.5992 GB, free: 4.785 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)