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.001061/0.001061, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008191/0.008191, allocations: 170.8 kB / 16.27 MB, free: 6.652 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.411/1.411, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9489/0.9489, allocations: 135.3 MB / 426.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003656/0.0003656, allocations: 11.98 kB / 0.5077 GB, free: 4.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 82.31 MB / 0.5881 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004739/0.1977, allocations: 4.086 MB / 0.5921 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002661/0.2004, allocations: 2.668 MB / 0.5947 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.2005, allocations: 0 / 0.5947 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002506/0.2007, allocations: 47.73 kB / 0.5947 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002405/0.201, allocations: 91.48 kB / 0.5948 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009125/0.2019, allocations: 454.2 kB / 0.5952 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.2022, allocations: 311.8 kB / 0.5955 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.947e-05/0.2022, allocations: 9.562 kB / 0.5955 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008665/0.2031, allocations: 402.4 kB / 0.5959 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.2032, allocations: 91.61 kB / 0.596 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.2033, allocations: 8 kB / 0.596 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008153/0.2041, allocations: 0.495 MB / 0.5965 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.2042, allocations: 39.88 kB / 0.5965 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.894e-05/0.2043, allocations: 105.3 kB / 0.5966 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004816/0.2047, allocations: 347.4 kB / 0.597 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2048, allocations: 0 / 0.597 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2048, allocations: 4 kB / 0.597 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2048, allocations: 0 / 0.597 GB, free: 9.387 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.0006318/0.2054, allocations: 479.2 kB / 0.5974 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2055, allocations: 8.031 kB / 0.5974 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/0.2055, allocations: 54.73 kB / 0.5975 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.2057, allocations: 20.75 kB / 0.5975 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.2059, allocations: 208.1 kB / 0.5977 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.2059, allocations: 16.7 kB / 0.5977 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.2059, allocations: 12.38 kB / 0.5977 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.2062, allocations: 248.9 kB / 0.598 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2063, allocations: 0 / 0.598 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.313e-05/0.2063, allocations: 12 kB / 0.598 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.2063, allocations: 4 kB / 0.598 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004438/0.2068, allocations: 431.5 kB / 0.5984 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009781/0.2078, allocations: 1.004 MB / 0.5994 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.208, allocations: 163 kB / 0.5995 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.2081, allocations: 60.88 kB / 0.5996 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001235/0.2094, allocations: 1.821 MB / 0.6014 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.2094, allocations: 34.56 kB / 0.6014 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.695e-06/0.2094, allocations: 4 kB / 0.6014 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002983/0.2097, allocations: 160.6 kB / 0.6016 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.201e-05/0.2098, allocations: 55.34 kB / 0.6016 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.2099, allocations: 174.5 kB / 0.6018 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.2099, allocations: 29.7 kB / 0.6018 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/0.21, allocations: 139.8 kB / 0.6019 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.2101, allocations: 47.36 kB / 0.602 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.2101, allocations: 29.7 kB / 0.602 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.2103, allocations: 330.8 kB / 0.6023 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.479e-05/0.2103, allocations: 35.98 kB / 0.6024 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001333/0.2105, allocations: 143.2 kB / 0.6025 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002246/0.2107, allocations: 197.4 kB / 0.6027 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2107, allocations: 4 kB / 0.6027 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002987/0.211, allocations: 208.1 kB / 0.6029 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.211, allocations: 8.469 kB / 0.6029 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2111, allocations: 11.98 kB / 0.6029 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.2111, allocations: 11.94 kB / 0.6029 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.2112, allocations: 51.92 kB / 0.603 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.2113, allocations: 11.94 kB / 0.603 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.2114, allocations: 27.69 kB / 0.603 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.2114, allocations: 15.98 kB / 0.603 GB, free: 2.438 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.2115, allocations: 138.4 kB / 0.6032 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.2116, allocations: 15.81 kB / 0.6032 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.2119, allocations: 159 kB / 0.6033 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.2119, allocations: 7.875 kB / 0.6033 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2119, allocations: 0 / 0.6033 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.2119, allocations: 3.984 kB / 0.6033 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002401/0.2122, allocations: 213.5 kB / 0.6035 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2122, allocations: 0 / 0.6035 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.468e-05/0.2123, allocations: 23.98 kB / 0.6036 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2123, allocations: 0 / 0.6036 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2123, allocations: 8 kB / 0.6036 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2123, allocations: 3.938 kB / 0.6036 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2123, allocations: 4 kB / 0.6036 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.2125, allocations: 219.3 kB / 0.6038 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.974e-05/0.2126, allocations: 112.8 kB / 0.6039 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.2126, allocations: 0 / 0.6039 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.2129, allocations: 27.86 kB / 0.6039 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.597e-05/0.2129, allocations: 11.98 kB / 0.6039 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.2129, allocations: 12 kB / 0.6039 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.519e-05/0.213, allocations: 124.6 kB / 0.6041 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.213, allocations: 0 / 0.6041 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003536/0.2134, allocations: 72 kB / 0.6041 GB, free: 1.207 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 (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.0006786/0.2141, allocations: 0.8242 MB / 0.6049 GB, free: 364 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002052/0.2143, allocations: 119.7 kB / 0.605 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2143, allocations: 0 / 0.605 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.995e-05/0.2144, allocations: 44.86 kB / 0.6051 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.2148, allocations: 62.23 kB / 0.6051 GB, free: 140 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3017/0.5165, allocations: 2.104 MB / 0.6072 GB, free: 48.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.5167, allocations: 0.7121 MB / 0.6079 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.5169, allocations: 44.09 kB / 0.6079 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.516e-05/0.517, allocations: 48.42 kB / 0.608 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.517, allocations: 0 / 0.608 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1584/0.6753, allocations: 4.84 MB / 0.6127 GB, free: 47.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.6755, allocations: 197.7 kB / 0.6129 GB, free: 46.79 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.965/2.641, allocations: 0 / 0.6129 GB, free: 46.79 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/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)