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.001474/0.001474, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001936/0.001936, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.342/2.342, allocations: 223.2 MB / 239.9 MB, free: 5.242 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.51/1.51, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004921, allocations: 9.719 kB / 0.5069 GB, free: 5.113 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2578, allocations: 82.32 MB / 0.5873 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005776/0.2637, allocations: 2.464 MB / 0.5897 GB, free: 500 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007097/0.2645, allocations: 331.3 kB / 0.59 GB, free: 168 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.956e-05/0.2645, allocations: 0 / 0.59 GB, free: 168 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002017/0.2647, allocations: 7.922 kB / 0.59 GB, free: 160 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.883e-05/0.2648, allocations: 7.984 kB / 0.59 GB, free: 152 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009011/0.2657, allocations: 147.6 kB / 0.5902 GB, free: 4 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.2659, allocations: 12.08 kB / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.064e-05/0.266, allocations: 0 / 0.5902 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.314e-05/0.2661, allocations: 19.97 kB / 0.5902 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.2662, allocations: 7.844 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.2663, allocations: 4 kB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.2668, allocations: 103.8 kB / 0.5903 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.067e-05/0.2669, allocations: 11.98 kB / 0.5903 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/0.267, allocations: 25.7 kB / 0.5903 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.2673, allocations: 60.17 kB / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.2673, allocations: 0 / 0.5904 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.009e-06/0.2673, allocations: 3.938 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.2673, allocations: 0 / 0.5904 GB, free: 15.75 MB / 0.4981 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.0007431/0.2681, allocations: 339.3 kB / 0.5907 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.417e-05/0.2682, allocations: 12.03 kB / 0.5907 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.504e-05/0.2683, allocations: 34.56 kB / 0.5908 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.2684, allocations: 7.938 kB / 0.5908 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.2686, allocations: 163 kB / 0.5909 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001244/0.2687, allocations: 29.7 kB / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.2687, allocations: 0 / 0.591 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.269, allocations: 45.67 kB / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.269, allocations: 0 / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.269, allocations: 3.984 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.851e-05/0.2691, allocations: 8 kB / 0.591 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.248e-05/0.2692, allocations: 8 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.2703, allocations: 0.5716 MB / 0.5916 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.255e-05/0.2703, allocations: 26.52 kB / 0.5916 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004194/0.2708, allocations: 336.5 kB / 0.5919 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.2708, allocations: 34.5 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.733e-06/0.2709, allocations: 4 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002599/0.2711, allocations: 37.66 kB / 0.592 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.2712, allocations: 55.34 kB / 0.592 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.2714, allocations: 105.8 kB / 0.5922 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.2714, allocations: 25.7 kB / 0.5922 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.295e-05/0.2715, allocations: 88.05 kB / 0.5923 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.358e-05/0.2716, allocations: 3.906 kB / 0.5923 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.2716, allocations: 0 / 0.5923 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002168/0.2718, allocations: 323 kB / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.2719, allocations: 0 / 0.5926 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-05/0.2719, allocations: 17.72 kB / 0.5926 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.272, allocations: 4 kB / 0.5926 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.272, allocations: 0 / 0.5926 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001215/0.2721, allocations: 49.62 kB / 0.5926 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.2722, allocations: 8 kB / 0.5926 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2722, allocations: 4.062 kB / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.2722, allocations: 0 / 0.5927 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.384e-05/0.2723, allocations: 7.984 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.2723, allocations: 3.953 kB / 0.5927 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.468e-05/0.2724, allocations: 11.94 kB / 0.5927 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.595e-05/0.2724, allocations: 0 / 0.5927 GB, free: 13.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.2726, allocations: 109.8 kB / 0.5928 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.2726, allocations: 0 / 0.5928 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.2728, allocations: 132.8 kB / 0.5929 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001388/0.273, allocations: 180.2 kB / 0.5931 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001317/0.2731, allocations: 180.2 kB / 0.5932 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001251/0.2733, allocations: 184.2 kB / 0.5934 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.2737, allocations: 405.2 kB / 0.5938 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.721e-05/0.2738, allocations: 112.9 kB / 0.5939 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.2739, allocations: 101 kB / 0.594 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00012/0.274, allocations: 184.2 kB / 0.5942 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001123/0.2742, allocations: 180.3 kB / 0.5944 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001335/0.2743, allocations: 180.3 kB / 0.5945 GB, free: 11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001083/0.2744, allocations: 180.2 kB / 0.5947 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002834/0.2747, allocations: 315.7 kB / 0.595 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.2749, allocations: 182 kB / 0.5952 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.275, allocations: 184.2 kB / 0.5954 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.2753, allocations: 109 kB / 0.5955 GB, free: 9.977 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.2755, allocations: 184.3 kB / 0.5956 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/0.2756, allocations: 104.9 kB / 0.5957 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.97e-05/0.2757, allocations: 83.27 kB / 0.5958 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2757, allocations: 0 / 0.5958 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005986/0.2763, allocations: 32 kB / 0.5958 GB, free: 9.566 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009152/0.2772, allocations: 0.8636 MB / 0.5967 GB, free: 8.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001303/0.2774, allocations: 15.94 kB / 0.5967 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.2774, allocations: 0 / 0.5967 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-06/0.2774, allocations: 0 / 0.5967 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000652/0.2781, allocations: 0.5264 MB / 0.5972 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.2788, allocations: 241.5 kB / 0.5974 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004608/0.2793, allocations: 0.677 MB / 0.5981 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.037e-05/0.2794, allocations: 7.656 kB / 0.5981 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.602e-05/0.2794, allocations: 11.44 kB / 0.5981 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.2794, allocations: 0 / 0.5981 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.2994, allocations: 1.873 MB / 0.6 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003322/0.2998, allocations: 231.5 kB / 0.6002 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.783/3.083, allocations: 2.188 kB / 0.6002 GB, free: 5.238 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/linux/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) Environment - environmentSimulation: