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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001444/0.001444, allocations: 195.3 kB / 16.14 MB, free: 6.715 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.24/1.24, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6978/0.6978, allocations: 132.2 MB / 422.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 63.78 kB / 0.5012 GB, free: 4.262 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3538, allocations: 80.2 MB / 0.5795 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004732/0.3586, allocations: 4.474 MB / 0.5839 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.3609, allocations: 2.728 MB / 0.5865 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.827e-05/0.361, allocations: 1.531 kB / 0.5865 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002185/0.3612, allocations: 35.64 kB / 0.5866 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002063/0.3614, allocations: 84.58 kB / 0.5866 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.3624, allocations: 451.9 kB / 0.5871 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.3627, allocations: 306.6 kB / 0.5874 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.3627, allocations: 10.84 kB / 0.5874 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008773/0.3636, allocations: 395.8 kB / 0.5877 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.3637, allocations: 95.2 kB / 0.5878 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.3637, allocations: 6.344 kB / 0.5878 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009275/0.3647, allocations: 0.4953 MB / 0.5883 GB, free: 14.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.392e-05/0.3647, allocations: 37.22 kB / 0.5884 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.39e-05/0.3648, allocations: 77.36 kB / 0.5884 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005443/0.3654, allocations: 358.5 kB / 0.5888 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3654, allocations: 4 kB / 0.5888 GB, free: 14.47 MB / 446.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.3654, allocations: 0.875 kB / 0.5888 GB, free: 14.47 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.3654, allocations: 0 / 0.5888 GB, free: 14.47 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.0006341/0.3661, allocations: 0.4966 MB / 0.5893 GB, free: 14.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.3661, allocations: 10.44 kB / 0.5893 GB, free: 14.02 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.3662, allocations: 48.06 kB / 0.5893 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.3663, allocations: 23.28 kB / 0.5893 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3665, allocations: 215.8 kB / 0.5896 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3665, allocations: 14.48 kB / 0.5896 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.3665, allocations: 14.62 kB / 0.5896 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.3669, allocations: 268.9 kB / 0.5898 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3669, allocations: 0.5625 kB / 0.5898 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.351e-05/0.3669, allocations: 7.031 kB / 0.5898 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.248e-05/0.367, allocations: 7 kB / 0.5899 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.3675, allocations: 429.2 kB / 0.5903 GB, free: 13.49 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009443/0.3684, allocations: 1.006 MB / 0.5912 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.3687, allocations: 158.2 kB / 0.5914 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.636e-05/0.3688, allocations: 61.28 kB / 0.5915 GB, free: 12.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.3699, allocations: 1.826 MB / 0.5932 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/0.3699, allocations: 33.78 kB / 0.5933 GB, free: 10.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.37, allocations: 3.938 kB / 0.5933 GB, free: 10.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003265/0.3703, allocations: 146.2 kB / 0.5934 GB, free: 10.33 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.3703, allocations: 54.34 kB / 0.5935 GB, free: 10.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.3705, allocations: 169.1 kB / 0.5936 GB, free: 10.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.3705, allocations: 26.86 kB / 0.5937 GB, free: 10.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.166e-05/0.3706, allocations: 141.4 kB / 0.5938 GB, free: 9.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.3706, allocations: 63.77 kB / 0.5938 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.3707, allocations: 48.09 kB / 0.5939 GB, free: 9.895 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.689e-05/0.3708, allocations: 322.8 kB / 0.5942 GB, free: 9.578 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.3709, allocations: 35.22 kB / 0.5942 GB, free: 9.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.371, allocations: 144.8 kB / 0.5944 GB, free: 9.422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.3712, allocations: 196.3 kB / 0.5946 GB, free: 9.246 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3712, allocations: 0.9688 kB / 0.5946 GB, free: 9.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003154/0.3715, allocations: 221.2 kB / 0.5948 GB, free: 9.141 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3716, allocations: 6.344 kB / 0.5948 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.196e-06/0.3716, allocations: 5.641 kB / 0.5948 GB, free: 9.141 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.3716, allocations: 8.156 kB / 0.5948 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.3718, allocations: 50.47 kB / 0.5948 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.3718, allocations: 5.938 kB / 0.5948 GB, free: 9.133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000118/0.3719, allocations: 29.72 kB / 0.5949 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.3719, allocations: 15.88 kB / 0.5949 GB, free: 9.109 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 9.202e-05/0.372, allocations: 132.1 kB / 0.595 GB, free: 8.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.3721, allocations: 16.11 kB / 0.595 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002879/0.3724, allocations: 157.6 kB / 0.5952 GB, free: 8.887 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.3724, allocations: 6.094 kB / 0.5952 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3724, allocations: 1.328 kB / 0.5952 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3724, allocations: 1.453 kB / 0.5952 GB, free: 8.883 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.3726, allocations: 219.7 kB / 0.5954 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3727, allocations: 0 / 0.5954 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.28e-05/0.3728, allocations: 30.03 kB / 0.5954 GB, free: 8.656 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3728, allocations: 6.016 kB / 0.5954 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.3728, allocations: 1.875 kB / 0.5954 GB, free: 8.652 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/0.3728, allocations: 6 kB / 0.5954 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3728, allocations: 3.984 kB / 0.5954 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.373, allocations: 216.7 kB / 0.5956 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.059e-05/0.3731, allocations: 110 kB / 0.5958 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.3731, allocations: 5.766 kB / 0.5958 GB, free: 8.371 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3734, allocations: 22.17 kB / 0.5958 GB, free: 8.363 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.3734, allocations: 12.47 kB / 0.5958 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.3734, allocations: 11.39 kB / 0.5958 GB, free: 8.355 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.311e-05/0.3735, allocations: 122 kB / 0.5959 GB, free: 8.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3735, allocations: 0 / 0.5959 GB, free: 8.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003627/0.3739, allocations: 81.03 kB / 0.596 GB, free: 8.25 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.0006562/0.3745, allocations: 0.8261 MB / 0.5968 GB, free: 7.531 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.3748, allocations: 112.7 kB / 0.5969 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3748, allocations: 1.375 kB / 0.5969 GB, free: 7.504 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.514e-05/0.3748, allocations: 49.11 kB / 0.597 GB, free: 7.488 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.3753, allocations: 57.08 kB / 0.597 GB, free: 7.473 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3772, allocations: 2.083 MB / 0.599 GB, free: 5.734 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002133/0.3774, allocations: 0.7118 MB / 0.5997 GB, free: 5.039 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001667/0.3776, allocations: 51.69 kB / 0.5998 GB, free: 5.012 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.3776, allocations: 46.39 kB / 0.5998 GB, free: 4.984 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3776, allocations: 0 / 0.5998 GB, free: 4.984 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3018/0.6794, allocations: 4.9 MB / 0.6046 GB, free: 2.863 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.6797, allocations: 190.7 kB / 0.6048 GB, free: 2.609 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.808, allocations: 7 kB / 0.6048 GB, free: 2.605 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)