Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",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.000927/0.000927, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001236/0.001236, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9651/0.9651, allocations: 135.3 MB / 426.3 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 9.125 kB / 0.5071 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1864, allocations: 82.32 MB / 0.5875 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005357/0.1918, allocations: 3.928 MB / 0.5913 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002844/0.1947, allocations: 2.482 MB / 0.5937 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.198e-05/0.1948, allocations: 0 / 0.5937 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.1951, allocations: 31.8 kB / 0.5937 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.1954, allocations: 87.5 kB / 0.5938 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1966, allocations: 405.4 kB / 0.5942 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002788/0.1969, allocations: 259.9 kB / 0.5945 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.866e-05/0.197, allocations: 9.562 kB / 0.5945 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009898/0.198, allocations: 398.9 kB / 0.5949 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.1981, allocations: 95.64 kB / 0.5949 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.1981, allocations: 8 kB / 0.595 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1992, allocations: 403.2 kB / 0.5953 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.118e-05/0.1992, allocations: 31.89 kB / 0.5954 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.1993, allocations: 53.64 kB / 0.5954 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003287/0.1996, allocations: 219.7 kB / 0.5956 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1996, allocations: 0 / 0.5956 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1997, allocations: 4 kB / 0.5956 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.675e-06/0.1997, allocations: 0 / 0.5956 GB, free: 10.61 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006592/0.2003, allocations: 479 kB / 0.5961 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.2004, allocations: 12.03 kB / 0.5961 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.205e-05/0.2004, allocations: 46.55 kB / 0.5961 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.2006, allocations: 23.77 kB / 0.5962 GB, free: 10 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.2008, allocations: 202.9 kB / 0.5964 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/0.2008, allocations: 16.33 kB / 0.5964 GB, free: 9.746 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.2009, allocations: 16 kB / 0.5964 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.2012, allocations: 244.9 kB / 0.5966 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2012, allocations: 0 / 0.5966 GB, free: 9.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.168e-05/0.2013, allocations: 12 kB / 0.5966 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/0.2013, allocations: 4 kB / 0.5966 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004352/0.2017, allocations: 427.5 kB / 0.597 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.2028, allocations: 1.008 MB / 0.598 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.203, allocations: 159 kB / 0.5982 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.602e-05/0.2031, allocations: 60.88 kB / 0.5982 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001269/0.2044, allocations: 1.821 MB / 0.6 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.2044, allocations: 34.55 kB / 0.6001 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 3.096e-06/0.2044, allocations: 4 kB / 0.6001 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003192/0.2048, allocations: 145.4 kB / 0.6002 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2048, allocations: 55.41 kB / 0.6002 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.205, allocations: 170.5 kB / 0.6004 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.205, allocations: 33.7 kB / 0.6004 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.808e-05/0.2051, allocations: 135.8 kB / 0.6006 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.2051, allocations: 51.28 kB / 0.6006 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.2051, allocations: 8 kB / 0.6006 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.2052, allocations: 322.8 kB / 0.6009 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.036e-05/0.2053, allocations: 43.98 kB / 0.601 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.2054, allocations: 134.6 kB / 0.6011 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.129e-05/0.2055, allocations: 63.94 kB / 0.6012 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.2055, allocations: 3.938 kB / 0.6012 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002894/0.2058, allocations: 221.4 kB / 0.6014 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.2059, allocations: 8 kB / 0.6014 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2059, allocations: 11.94 kB / 0.6014 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2059, allocations: 4 kB / 0.6014 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.2061, allocations: 55.92 kB / 0.6015 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2061, allocations: 4 kB / 0.6015 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.2062, allocations: 31.67 kB / 0.6015 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.2062, allocations: 12 kB / 0.6015 GB, free: 3.895 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001065/0.2063, allocations: 129.8 kB / 0.6016 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.2064, allocations: 23.77 kB / 0.6017 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.2067, allocations: 158.9 kB / 0.6018 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.2067, allocations: 4 kB / 0.6018 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.2067, allocations: 3.984 kB / 0.6018 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2067, allocations: 3.938 kB / 0.6018 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002176/0.2069, allocations: 213.5 kB / 0.602 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.2069, allocations: 0 / 0.602 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.286e-05/0.207, allocations: 23.98 kB / 0.602 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.207, allocations: 0 / 0.602 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.2071, allocations: 11.95 kB / 0.6021 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2071, allocations: 4 kB / 0.6021 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2071, allocations: 0 / 0.6021 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.2073, allocations: 222.2 kB / 0.6023 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.791e-05/0.2074, allocations: 108.9 kB / 0.6024 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.2074, allocations: 4 kB / 0.6024 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.2076, allocations: 23.94 kB / 0.6024 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.2077, allocations: 11.98 kB / 0.6024 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2077, allocations: 15.98 kB / 0.6024 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.657e-05/0.2078, allocations: 112.7 kB / 0.6025 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2078, allocations: 0 / 0.6025 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003874/0.2082, allocations: 83.94 kB / 0.6026 GB, free: 2.664 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0005829/0.2087, allocations: 0.8136 MB / 0.6034 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.209, allocations: 115.8 kB / 0.6035 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.209, allocations: 0 / 0.6035 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.153e-05/0.209, allocations: 50.67 kB / 0.6036 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.2095, allocations: 60.34 kB / 0.6036 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.2109, allocations: 1.003 MB / 0.6046 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3614/0.5723, allocations: 0.7136 MB / 0.6053 GB, free: 48.93 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002725/0.5726, allocations: 46.5 kB / 0.6053 GB, free: 48.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.346e-05/0.5727, allocations: 48.95 kB / 0.6054 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of SimCode: time 8.91e-07/0.5727, allocations: 0 / 0.6054 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01498/0.5877, allocations: 4.704 MB / 0.61 GB, free: 48.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001246/0.5878, allocations: 191.5 kB / 0.6102 GB, free: 48.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.47, allocations: 1.641 kB / 0.6102 GB, free: 48.38 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) Environment - environmentSimulation: