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.0007387/0.0007388, allocations: 97.64 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.005302/0.005303, allocations: 170.1 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.223/1.223, 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/package.mo): time 0.6972/0.6972, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003916/0.0003917, allocations: 12.28 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3407, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.003718/0.3445, allocations: 4.102 MB / 0.5877 GB, free: 1.031 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.3468, allocations: 2.673 MB / 0.5903 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.3469, allocations: 0.7812 kB / 0.5903 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001925/0.3471, allocations: 36.8 kB / 0.5904 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001964/0.3473, allocations: 92.89 kB / 0.5905 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008525/0.3482, allocations: 447.7 kB / 0.5909 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002876/0.3485, allocations: 307.3 kB / 0.5912 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.3485, allocations: 8.797 kB / 0.5912 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.3493, allocations: 400.9 kB / 0.5916 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3494, allocations: 94.55 kB / 0.5917 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.3494, allocations: 6.844 kB / 0.5917 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008457/0.3503, allocations: 0.4988 MB / 0.5922 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.159e-05/0.3504, allocations: 39.03 kB / 0.5922 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.881e-05/0.3505, allocations: 102 kB / 0.5923 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005017/0.351, allocations: 354.2 kB / 0.5926 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.351, allocations: 5.312 kB / 0.5926 GB, free: 14.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.351, allocations: 0 / 0.5926 GB, free: 14.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.351, allocations: 0 / 0.5926 GB, free: 14.13 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.0005636/0.3516, allocations: 464 kB / 0.5931 GB, free: 13.7 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.3516, allocations: 14.53 kB / 0.5931 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.068e-05/0.3517, allocations: 56.33 kB / 0.5932 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.3518, allocations: 23.92 kB / 0.5932 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001791/0.352, allocations: 215 kB / 0.5934 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.352, allocations: 14.36 kB / 0.5934 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.527e-05/0.352, allocations: 14.66 kB / 0.5934 GB, free: 13.4 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003566/0.3524, allocations: 260.4 kB / 0.5937 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.3524, allocations: 1.094 kB / 0.5937 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.181e-05/0.3524, allocations: 10.62 kB / 0.5937 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.3525, allocations: 6.891 kB / 0.5937 GB, free: 13.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004972/0.353, allocations: 425.7 kB / 0.5941 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009368/0.3539, allocations: 1.004 MB / 0.5951 GB, free: 12.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002634/0.3542, allocations: 153.1 kB / 0.5952 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.3543, allocations: 66.55 kB / 0.5953 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.3555, allocations: 1.826 MB / 0.5971 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.3555, allocations: 32.81 kB / 0.5971 GB, free: 10.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.3555, allocations: 3.938 kB / 0.5971 GB, free: 10.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002872/0.3558, allocations: 149.8 kB / 0.5972 GB, free: 10.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.3558, allocations: 57.22 kB / 0.5973 GB, free: 9.941 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.356, allocations: 169.3 kB / 0.5974 GB, free: 9.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.356, allocations: 35.61 kB / 0.5975 GB, free: 9.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.154e-05/0.3561, allocations: 141.4 kB / 0.5976 GB, free: 9.641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3561, allocations: 50.77 kB / 0.5977 GB, free: 9.602 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.484e-05/0.3562, allocations: 27.48 kB / 0.5977 GB, free: 9.578 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.3563, allocations: 327.8 kB / 0.598 GB, free: 9.258 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.88e-05/0.3564, allocations: 34.81 kB / 0.598 GB, free: 9.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3565, allocations: 139.9 kB / 0.5982 GB, free: 9.105 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.3567, allocations: 193.3 kB / 0.5984 GB, free: 8.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.3567, allocations: 1.438 kB / 0.5984 GB, free: 8.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003035/0.357, allocations: 220.8 kB / 0.5986 GB, free: 8.824 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.357, allocations: 8.219 kB / 0.5986 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.357, allocations: 4.375 kB / 0.5986 GB, free: 8.824 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3571, allocations: 9.062 kB / 0.5986 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.3572, allocations: 55.14 kB / 0.5986 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3572, allocations: 10.5 kB / 0.5986 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.3574, allocations: 28.91 kB / 0.5987 GB, free: 8.789 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.3574, allocations: 11.31 kB / 0.5987 GB, free: 8.789 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 8.786e-05/0.3575, allocations: 131.6 kB / 0.5988 GB, free: 8.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.3575, allocations: 21.2 kB / 0.5988 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.3578, allocations: 156.1 kB / 0.599 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3578, allocations: 9.688 kB / 0.599 GB, free: 8.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.3578, allocations: 7.984 kB / 0.599 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.3578, allocations: 0.75 kB / 0.599 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.3581, allocations: 217.9 kB / 0.5992 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3581, allocations: 3.969 kB / 0.5992 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.536e-05/0.3581, allocations: 20.69 kB / 0.5992 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3582, allocations: 0 / 0.5992 GB, free: 8.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3582, allocations: 7.531 kB / 0.5992 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3582, allocations: 3.938 kB / 0.5992 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3582, allocations: 0 / 0.5992 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.3584, allocations: 217.9 kB / 0.5994 GB, free: 8.168 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.045e-05/0.3585, allocations: 114.4 kB / 0.5996 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.3585, allocations: 5.734 kB / 0.5996 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3587, allocations: 25.98 kB / 0.5996 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.994e-05/0.3587, allocations: 8 kB / 0.5996 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.3588, allocations: 11.92 kB / 0.5996 GB, free: 8.039 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.761e-05/0.3588, allocations: 129.9 kB / 0.5997 GB, free: 7.945 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3589, allocations: 1.375 kB / 0.5997 GB, free: 7.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003444/0.3592, allocations: 83.3 kB / 0.5998 GB, free: 7.922 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.0005713/0.3598, allocations: 0.8237 MB / 0.6006 GB, free: 7.211 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.36, allocations: 109.5 kB / 0.6007 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.36, allocations: 1.656 kB / 0.6007 GB, free: 7.184 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.958e-05/0.3601, allocations: 44.23 kB / 0.6008 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004124/0.3605, allocations: 57.38 kB / 0.6008 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001844/0.3623, allocations: 2.123 MB / 0.6029 GB, free: 5.418 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/0.3626, allocations: 0.7185 MB / 0.6036 GB, free: 4.715 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.3627, allocations: 54.92 kB / 0.6036 GB, free: 4.684 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.3628, allocations: 43.91 kB / 0.6037 GB, free: 4.656 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3628, allocations: 1.094 kB / 0.6037 GB, free: 4.656 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4031/0.7659, allocations: 4.831 MB / 0.6084 GB, free: 2.445 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.7661, allocations: 193 kB / 0.6086 GB, free: 2.191 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.934, allocations: 3.281 kB / 0.6086 GB, free: 2.191 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)