Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",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.000937/0.000937, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.0072/0.0072, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.515/1.515, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.024/1.024, allocations: 135.3 MB / 426.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 8 kB / 0.5077 GB, free: 4.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1944, allocations: 82.31 MB / 0.5881 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004826/0.1993, allocations: 3.404 MB / 0.5914 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002001/0.1995, allocations: 159.5 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.995e-05/0.1995, allocations: 0 / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1997, allocations: 0 / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.237e-05/0.1997, allocations: 11.92 kB / 0.5916 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.2001, allocations: 79.75 kB / 0.5916 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001056/0.2002, allocations: 59.81 kB / 0.5917 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.257e-05/0.2003, allocations: 0 / 0.5917 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.486e-05/0.2003, allocations: 23.92 kB / 0.5917 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.88e-05/0.2004, allocations: 7.984 kB / 0.5917 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.2004, allocations: 4 kB / 0.5917 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005481/0.201, allocations: 195.4 kB / 0.5919 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.201, allocations: 11.94 kB / 0.5919 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.981e-05/0.2011, allocations: 33.69 kB / 0.5919 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.2012, allocations: 52.11 kB / 0.592 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.2012, allocations: 0 / 0.592 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2012, allocations: 3.938 kB / 0.592 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2013, allocations: 4 kB / 0.592 GB, free: 14.46 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.0004056/0.2017, allocations: 323.6 kB / 0.5923 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2017, allocations: 8.031 kB / 0.5923 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/0.2018, allocations: 30.75 kB / 0.5924 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.2018, allocations: 4.938 kB / 0.5924 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.2019, allocations: 164.4 kB / 0.5925 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.212e-05/0.202, allocations: 34.27 kB / 0.5925 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.202, allocations: 4.125 kB / 0.5926 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2022, allocations: 45.62 kB / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.2022, allocations: 0 / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2022, allocations: 0 / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/0.2022, allocations: 4 kB / 0.5926 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.2023, allocations: 11.98 kB / 0.5926 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.2028, allocations: 349.8 kB / 0.5929 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.2029, allocations: 22.52 kB / 0.593 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.885e-05/0.2029, allocations: 8.922 kB / 0.593 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.154e-05/0.203, allocations: 85.09 kB / 0.5931 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.203, allocations: 30.56 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.143e-06/0.203, allocations: 0 / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001545/0.2032, allocations: 37.8 kB / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/0.2032, allocations: 51.41 kB / 0.5932 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.2033, allocations: 109.8 kB / 0.5933 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.2034, allocations: 29.64 kB / 0.5933 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.2034, allocations: 87.98 kB / 0.5934 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.2034, allocations: 4 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.2035, allocations: 13.7 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2036, allocations: 318.8 kB / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.344e-05/0.2036, allocations: 0 / 0.5937 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.2036, allocations: 21.75 kB / 0.5937 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.359e-05/0.2037, allocations: 21.7 kB / 0.5937 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2037, allocations: 0 / 0.5937 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.467e-05/0.2038, allocations: 49.55 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2038, allocations: 7.984 kB / 0.5938 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.2038, allocations: 4 kB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.2038, allocations: 4.062 kB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.2039, allocations: 4 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2039, allocations: 0 / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.2039, allocations: 4 kB / 0.5938 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2039, allocations: 0 / 0.5938 GB, free: 12.32 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 9.316e-05/0.204, allocations: 113.8 kB / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.442e-05/0.204, allocations: 4 kB / 0.5939 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.2042, allocations: 128.8 kB / 0.5941 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-05/0.2043, allocations: 176.3 kB / 0.5942 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.438e-05/0.2043, allocations: 184.2 kB / 0.5944 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.76e-05/0.2044, allocations: 176.3 kB / 0.5946 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.2047, allocations: 413.1 kB / 0.595 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.085e-05/0.2047, allocations: 105 kB / 0.5951 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.864e-05/0.2048, allocations: 109 kB / 0.5952 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.074e-05/0.2048, allocations: 180.2 kB / 0.5953 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.2049, allocations: 176.3 kB / 0.5955 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.388e-05/0.205, allocations: 184.2 kB / 0.5957 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.631e-05/0.2051, allocations: 188.2 kB / 0.5959 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.2052, allocations: 311.7 kB / 0.5962 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.165e-05/0.2053, allocations: 182.1 kB / 0.5963 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.613e-05/0.2054, allocations: 184.2 kB / 0.5965 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.2056, allocations: 105 kB / 0.5966 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.389e-05/0.2057, allocations: 192.2 kB / 0.5968 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.609e-05/0.2057, allocations: 101 kB / 0.5969 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.388e-05/0.2058, allocations: 83.28 kB / 0.597 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2058, allocations: 3.938 kB / 0.597 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002489/0.206, allocations: 23.88 kB / 0.597 GB, free: 8.848 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.0005208/0.2066, allocations: 0.8359 MB / 0.5978 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.554e-05/0.2067, allocations: 4.328 kB / 0.5978 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2067, allocations: 0 / 0.5978 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.2067, allocations: 4 kB / 0.5978 GB, free: 7.977 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.2072, allocations: 0.5261 MB / 0.5983 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.2088, allocations: 1.334 MB / 0.5996 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.2092, allocations: 0.6692 MB / 0.6003 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.865e-05/0.2093, allocations: 15.86 kB / 0.6003 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/0.2093, allocations: 11.44 kB / 0.6003 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2093, allocations: 0 / 0.6003 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1434/0.3527, allocations: 1.309 MB / 0.6016 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/0.353, allocations: 217.2 kB / 0.6018 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.679/2.032, allocations: 0 / 0.6018 GB, free: 3.926 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)