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.001098/0.001098, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001139/0.001138, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.322/1.322, allocations: 222.9 MB / 239.9 MB, free: 4.477 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8126/0.8126, allocations: 132.2 MB / 422.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 63.73 kB / 0.5013 GB, free: 4.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4463, allocations: 80.19 MB / 0.5797 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.005573/0.4519, allocations: 4.469 MB / 0.584 GB, free: 1.344 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002867/0.4548, allocations: 2.693 MB / 0.5867 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.565e-05/0.4549, allocations: 1.469 kB / 0.5867 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.4553, allocations: 37.41 kB / 0.5867 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.4557, allocations: 79.91 kB / 0.5868 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.4571, allocations: 464.9 kB / 0.5872 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002996/0.4574, allocations: 229.9 kB / 0.5874 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.548e-05/0.4575, allocations: 9.453 kB / 0.5874 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.4586, allocations: 416.2 kB / 0.5878 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.4587, allocations: 94.16 kB / 0.5879 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.4587, allocations: 7.094 kB / 0.5879 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.46, allocations: 0.4987 MB / 0.5884 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.16e-05/0.4601, allocations: 33.66 kB / 0.5884 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.4602, allocations: 80.42 kB / 0.5885 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000672/0.4609, allocations: 357.7 kB / 0.5889 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4609, allocations: 1.031 kB / 0.5889 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.4609, allocations: 0 / 0.5889 GB, free: 14.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.4609, allocations: 4.609 kB / 0.5889 GB, free: 14.46 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.0007405/0.4617, allocations: 0.4994 MB / 0.5894 GB, free: 14.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4617, allocations: 10.77 kB / 0.5894 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.564e-05/0.4618, allocations: 47.97 kB / 0.5894 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.462, allocations: 19 kB / 0.5894 GB, free: 13.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.4622, allocations: 215.4 kB / 0.5896 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4622, allocations: 14.89 kB / 0.5897 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.4623, allocations: 14.94 kB / 0.5897 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.4627, allocations: 255.9 kB / 0.5899 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4627, allocations: 0.8438 kB / 0.5899 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.4627, allocations: 11.25 kB / 0.5899 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.756e-05/0.4628, allocations: 6.031 kB / 0.5899 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.4634, allocations: 425.8 kB / 0.5903 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.4646, allocations: 1.01 MB / 0.5913 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.4649, allocations: 157.6 kB / 0.5915 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.465, allocations: 61.48 kB / 0.5915 GB, free: 12.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.4665, allocations: 1.825 MB / 0.5933 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.4665, allocations: 38.09 kB / 0.5933 GB, free: 10.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.4666, allocations: 0 / 0.5933 GB, free: 10.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003718/0.4669, allocations: 145.8 kB / 0.5935 GB, free: 10.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.66e-05/0.467, allocations: 58.48 kB / 0.5935 GB, free: 10.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4672, allocations: 164.3 kB / 0.5937 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.4672, allocations: 36.08 kB / 0.5937 GB, free: 10.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.619e-05/0.4673, allocations: 141.6 kB / 0.5939 GB, free: 9.973 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.4673, allocations: 55.14 kB / 0.5939 GB, free: 9.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.67e-05/0.4674, allocations: 53.59 kB / 0.594 GB, free: 9.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4676, allocations: 327.2 kB / 0.5943 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.989e-05/0.4676, allocations: 34.27 kB / 0.5943 GB, free: 9.566 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.4678, allocations: 140.9 kB / 0.5945 GB, free: 9.422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002379/0.468, allocations: 199 kB / 0.5946 GB, free: 9.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.468, allocations: 1.062 kB / 0.5946 GB, free: 9.242 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003538/0.4684, allocations: 214.6 kB / 0.5948 GB, free: 9.145 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.4684, allocations: 9.344 kB / 0.5949 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4685, allocations: 8.344 kB / 0.5949 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.4685, allocations: 10.3 kB / 0.5949 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.4687, allocations: 52.83 kB / 0.5949 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.173e-05/0.4687, allocations: 6.719 kB / 0.5949 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.4688, allocations: 33.72 kB / 0.595 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.526e-05/0.4689, allocations: 16.25 kB / 0.595 GB, free: 9.098 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.469, allocations: 126.8 kB / 0.5951 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.985e-05/0.4691, allocations: 20.45 kB / 0.5951 GB, free: 8.961 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003118/0.4694, allocations: 157 kB / 0.5953 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.4694, allocations: 6.016 kB / 0.5953 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4694, allocations: 0.8438 kB / 0.5953 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.4694, allocations: 0.75 kB / 0.5953 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.4697, allocations: 220.6 kB / 0.5955 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4697, allocations: 0 / 0.5955 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.687e-05/0.4698, allocations: 27.06 kB / 0.5955 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4698, allocations: 0 / 0.5955 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.4698, allocations: 2.359 kB / 0.5955 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4698, allocations: 9.531 kB / 0.5955 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4698, allocations: 1.062 kB / 0.5955 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.4701, allocations: 217.4 kB / 0.5957 GB, free: 8.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.109e-05/0.4702, allocations: 106.2 kB / 0.5958 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.4703, allocations: 2.516 kB / 0.5958 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.4705, allocations: 24.28 kB / 0.5959 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.4705, allocations: 13.69 kB / 0.5959 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.4705, allocations: 15.69 kB / 0.5959 GB, free: 8.352 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.4706, allocations: 126 kB / 0.596 GB, free: 8.262 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4707, allocations: 0 / 0.596 GB, free: 8.262 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.4711, allocations: 75.69 kB / 0.5961 GB, free: 8.246 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 (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.0007969/0.4719, allocations: 0.8288 MB / 0.5969 GB, free: 7.527 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002616/0.4722, allocations: 123.6 kB / 0.597 GB, free: 7.492 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4722, allocations: 0 / 0.597 GB, free: 7.492 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.4722, allocations: 42.3 kB / 0.597 GB, free: 7.484 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000464/0.4727, allocations: 65.73 kB / 0.5971 GB, free: 7.457 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.475, allocations: 2.094 MB / 0.5992 GB, free: 5.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.4754, allocations: 0.7148 MB / 0.5999 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000202/0.4756, allocations: 47.14 kB / 0.5999 GB, free: 4.984 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.571e-05/0.4757, allocations: 45.45 kB / 0.5999 GB, free: 4.957 MB / 446.1 MB Notification: Performance of SimCode: time 1.714e-06/0.4757, allocations: 0 / 0.5999 GB, free: 4.957 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1557/0.6314, allocations: 5.018 MB / 0.6048 GB, free: 2.801 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002066/0.6316, allocations: 189.3 kB / 0.605 GB, free: 2.551 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.959/2.591, allocations: 4.766 kB / 0.605 GB, free: 2.551 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/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)