Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_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.001478/0.001478, allocations: 99.62 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.001636/0.001637, 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.612/2.612, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.21/1.21, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005137/0.0005139, allocations: 12.89 kB / 0.5033 GB, free: 4.176 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7389, allocations: 81.57 MB / 0.583 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.006672/0.7456, allocations: 3.689 MB / 0.5866 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003116/0.7488, allocations: 2.164 MB / 0.5887 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001359/0.749, allocations: 1.375 kB / 0.5887 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003553/0.7493, allocations: 45.02 kB / 0.5887 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.7497, allocations: 78.42 kB / 0.5888 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.7515, allocations: 418 kB / 0.5892 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.7519, allocations: 151.6 kB / 0.5893 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.914e-05/0.752, allocations: 18.3 kB / 0.5894 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.7535, allocations: 394.5 kB / 0.5897 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.7537, allocations: 70.53 kB / 0.5898 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.7537, allocations: 11 kB / 0.5898 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.7556, allocations: 438.5 kB / 0.5902 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.7557, allocations: 33.56 kB / 0.5903 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.085e-05/0.7558, allocations: 52.48 kB / 0.5903 GB, free: 15.06 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000711/0.7565, allocations: 208.8 kB / 0.5905 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.7565, allocations: 0 / 0.5905 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.02e-06/0.7566, allocations: 0 / 0.5905 GB, free: 15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.7566, allocations: 5.219 kB / 0.5905 GB, free: 15 MB / 446.1 MB 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.001099/0.7577, allocations: 481.5 kB / 0.591 GB, free: 14.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.718e-05/0.7578, allocations: 9.438 kB / 0.591 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.283e-05/0.7579, allocations: 51.34 kB / 0.591 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.7581, allocations: 26.7 kB / 0.5911 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.7584, allocations: 205.6 kB / 0.5913 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.7585, allocations: 14.95 kB / 0.5913 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/0.7585, allocations: 14.25 kB / 0.5913 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005393/0.7591, allocations: 249.8 kB / 0.5915 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.7591, allocations: 0.75 kB / 0.5915 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.7591, allocations: 15.02 kB / 0.5915 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.7592, allocations: 5.969 kB / 0.5915 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.7601, allocations: 432.9 kB / 0.592 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002282/0.7624, allocations: 1.023 MB / 0.5929 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004783/0.7629, allocations: 162.4 kB / 0.5931 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002323/0.7653, allocations: 1.835 MB / 0.5949 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.7654, allocations: 41.48 kB / 0.5949 GB, free: 10.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.775e-06/0.7654, allocations: 4 kB / 0.5949 GB, free: 10.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004825/0.7659, allocations: 146.3 kB / 0.5951 GB, free: 10.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.7659, allocations: 53.08 kB / 0.5951 GB, free: 10.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.7662, allocations: 167.7 kB / 0.5953 GB, free: 10.69 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.7663, allocations: 32.45 kB / 0.5953 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.7664, allocations: 144.9 kB / 0.5955 GB, free: 10.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001532/0.7666, allocations: 44.31 kB / 0.5955 GB, free: 10.49 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.7666, allocations: 5.469 kB / 0.5955 GB, free: 10.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.7668, allocations: 329.8 kB / 0.5958 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.247e-05/0.7669, allocations: 34.78 kB / 0.5959 GB, free: 10.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.7672, allocations: 143.2 kB / 0.596 GB, free: 10.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.7673, allocations: 56.88 kB / 0.596 GB, free: 9.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.7674, allocations: 1.094 kB / 0.596 GB, free: 9.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004396/0.7678, allocations: 208.9 kB / 0.5962 GB, free: 9.891 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.7678, allocations: 10.31 kB / 0.5963 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.7679, allocations: 4.938 kB / 0.5963 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.7679, allocations: 9 kB / 0.5963 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/0.7681, allocations: 60.56 kB / 0.5963 GB, free: 9.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/0.7682, allocations: 14.28 kB / 0.5963 GB, free: 9.867 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.7684, allocations: 29.22 kB / 0.5964 GB, free: 9.848 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.7684, allocations: 11.98 kB / 0.5964 GB, free: 9.848 MB / 446.1 MB 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.0003619/0.7688, allocations: 131.2 kB / 0.5965 GB, free: 9.719 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.173e-05/0.7688, allocations: 24.3 kB / 0.5965 GB, free: 9.703 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.7693, allocations: 157.5 kB / 0.5967 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.7693, allocations: 3.328 kB / 0.5967 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.7693, allocations: 0 / 0.5967 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.7693, allocations: 5.75 kB / 0.5967 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.7697, allocations: 208.9 kB / 0.5969 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.7697, allocations: 0.75 kB / 0.5969 GB, free: 9.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.7698, allocations: 30.67 kB / 0.5969 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7698, allocations: 1.438 kB / 0.5969 GB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.7699, allocations: 14.67 kB / 0.5969 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7699, allocations: 1.344 kB / 0.5969 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.7699, allocations: 0.75 kB / 0.5969 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.7703, allocations: 217.2 kB / 0.5971 GB, free: 9.234 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.7704, allocations: 119.4 kB / 0.5973 GB, free: 9.121 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.7705, allocations: 4 kB / 0.5973 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.7707, allocations: 26.28 kB / 0.5973 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.7708, allocations: 8.562 kB / 0.5973 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.701e-05/0.7708, allocations: 12.98 kB / 0.5973 GB, free: 9.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000143/0.771, allocations: 125.2 kB / 0.5974 GB, free: 9.016 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.771, allocations: 0 / 0.5974 GB, free: 9.016 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005314/0.7715, allocations: 76.23 kB / 0.5975 GB, free: 9 MB / 446.1 MB 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.00128/0.7728, allocations: 0.8167 MB / 0.5983 GB, free: 8.285 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.7732, allocations: 116 kB / 0.5984 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.7732, allocations: 2.156 kB / 0.5984 GB, free: 8.254 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.7733, allocations: 48.33 kB / 0.5985 GB, free: 8.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.774, allocations: 56.95 kB / 0.5985 GB, free: 8.223 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.7783, allocations: 3.273 MB / 0.6017 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006615/0.7791, allocations: 0.7193 MB / 0.6024 GB, free: 4.562 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000302/0.7794, allocations: 44.14 kB / 0.6024 GB, free: 4.547 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.7796, allocations: 46.42 kB / 0.6025 GB, free: 4.52 MB / 446.1 MB Notification: Performance of SimCode: time 1.944e-06/0.7796, allocations: 0 / 0.6025 GB, free: 4.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.8044, allocations: 4.653 MB / 0.607 GB, free: 2.613 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002473/0.8047, allocations: 166.3 kB / 0.6072 GB, free: 2.379 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.845/3.65, allocations: 4 kB / 0.6072 GB, free: 2.375 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) Environment - environmentSimulation: