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.001341/0.001341, allocations: 99.86 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.001861/0.001861, allocations: 177.3 kB / 15.95 MB, free: 216 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.378/2.378, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.595/1.595, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004629, allocations: 13.5 kB / 0.5069 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1803, allocations: 82.3 MB / 0.5873 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005299/0.1857, allocations: 3.687 MB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002896/0.1886, allocations: 2.171 MB / 0.593 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1888, allocations: 4 kB / 0.593 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003375/0.1891, allocations: 35.8 kB / 0.593 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.1894, allocations: 83.7 kB / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.1909, allocations: 424.4 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.1912, allocations: 148.7 kB / 0.5936 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.637e-05/0.1913, allocations: 9.547 kB / 0.5937 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.1924, allocations: 399.2 kB / 0.594 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.1925, allocations: 71.75 kB / 0.5941 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1925, allocations: 8 kB / 0.5941 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001164/0.1937, allocations: 443.3 kB / 0.5945 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.005e-05/0.1938, allocations: 27.91 kB / 0.5946 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.449e-05/0.1939, allocations: 53.64 kB / 0.5946 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/0.1944, allocations: 215.7 kB / 0.5948 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1944, allocations: 0 / 0.5948 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.635e-06/0.1944, allocations: 0 / 0.5948 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.1944, allocations: 0 / 0.5948 GB, free: 11.3 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.0009461/0.1954, allocations: 475 kB / 0.5953 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1955, allocations: 12.03 kB / 0.5953 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.1955, allocations: 50.55 kB / 0.5953 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.1957, allocations: 31.75 kB / 0.5954 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.196, allocations: 202.8 kB / 0.5956 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.196, allocations: 12.33 kB / 0.5956 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.196, allocations: 16 kB / 0.5956 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.1964, allocations: 248.9 kB / 0.5958 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1965, allocations: 0 / 0.5958 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/0.1965, allocations: 8 kB / 0.5958 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.1965, allocations: 7.984 kB / 0.5958 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.1971, allocations: 431.4 kB / 0.5962 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001639/0.1988, allocations: 1.035 MB / 0.5973 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003549/0.1992, allocations: 150.3 kB / 0.5974 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/0.2009, allocations: 1.837 MB / 0.5992 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/0.2009, allocations: 46.45 kB / 0.5992 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.434e-06/0.2009, allocations: 0 / 0.5992 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003978/0.2013, allocations: 141.4 kB / 0.5994 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.2014, allocations: 55.41 kB / 0.5994 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.2016, allocations: 170.5 kB / 0.5996 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.2016, allocations: 29.7 kB / 0.5996 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.2017, allocations: 143.8 kB / 0.5998 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.2018, allocations: 51.3 kB / 0.5998 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-06/0.2018, allocations: 4 kB / 0.5998 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.202, allocations: 326.8 kB / 0.6001 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.2021, allocations: 35.97 kB / 0.6002 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001554/0.2022, allocations: 143.2 kB / 0.6003 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.2023, allocations: 58.03 kB / 0.6003 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.2023, allocations: 0 / 0.6003 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003568/0.2027, allocations: 213.1 kB / 0.6005 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.2028, allocations: 11.94 kB / 0.6006 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.2028, allocations: 4 kB / 0.6006 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.2028, allocations: 12.41 kB / 0.6006 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.203, allocations: 59.91 kB / 0.6006 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.203, allocations: 7.938 kB / 0.6006 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.2032, allocations: 31.69 kB / 0.6007 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.2032, allocations: 12 kB / 0.6007 GB, free: 4.602 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.0001467/0.2034, allocations: 125.8 kB / 0.6008 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.568e-05/0.2034, allocations: 19.8 kB / 0.6008 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.2038, allocations: 166.2 kB / 0.601 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.2038, allocations: 11.94 kB / 0.601 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.2038, allocations: 0 / 0.601 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2038, allocations: 0 / 0.601 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000262/0.2041, allocations: 217.5 kB / 0.6012 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2041, allocations: 0 / 0.6012 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.2042, allocations: 31.92 kB / 0.6012 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.2042, allocations: 0 / 0.6012 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.2042, allocations: 4 kB / 0.6012 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2042, allocations: 7.953 kB / 0.6012 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2043, allocations: 0 / 0.6012 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.2045, allocations: 219.3 kB / 0.6014 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.808e-05/0.2046, allocations: 112.9 kB / 0.6016 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.2046, allocations: 3.984 kB / 0.6016 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.2048, allocations: 23.97 kB / 0.6016 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.2049, allocations: 19.94 kB / 0.6016 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.2049, allocations: 8 kB / 0.6016 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.928e-05/0.205, allocations: 124.6 kB / 0.6017 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.205, allocations: 0 / 0.6017 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004105/0.2054, allocations: 83.92 kB / 0.6018 GB, free: 3.352 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.0006447/0.2061, allocations: 0.8098 MB / 0.6026 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.2063, allocations: 122.7 kB / 0.6027 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2063, allocations: 0 / 0.6027 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/0.2064, allocations: 43.92 kB / 0.6028 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.2069, allocations: 53.48 kB / 0.6028 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2911/0.498, allocations: 3.27 MB / 0.606 GB, free: 48.55 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001407/0.4982, allocations: 0.7224 MB / 0.6067 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002177/0.4984, allocations: 47 kB / 0.6068 GB, free: 47.85 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-05/0.4985, allocations: 45.31 kB / 0.6068 GB, free: 47.84 MB / 0.4981 GB Notification: Performance of SimCode: time 6.01e-07/0.4986, allocations: 0 / 0.6068 GB, free: 47.84 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01551/0.5141, allocations: 4.657 MB / 0.6113 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.5143, allocations: 170.8 kB / 0.6115 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/2.259, allocations: 3.5 kB / 0.6115 GB, free: 47.32 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: