Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",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.0008751/0.0008752, 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.005543/0.005543, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.249/1.249, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7092/0.7092, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002958/0.0002958, allocations: 8 kB / 0.5041 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3625, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.004095/0.3666, allocations: 4.368 MB / 0.588 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002546/0.3692, allocations: 2.68 MB / 0.5906 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.3693, allocations: 1.344 kB / 0.5906 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.3695, allocations: 40.05 kB / 0.5907 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.3697, allocations: 89.33 kB / 0.5907 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009936/0.3708, allocations: 462.5 kB / 0.5912 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.3711, allocations: 312.6 kB / 0.5915 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.3711, allocations: 8.438 kB / 0.5915 GB, free: 14.47 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.3713, allocations: 111.7 kB / 0.5916 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.3715, allocations: 94.3 kB / 0.5917 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.238e-05/0.3715, allocations: 11.47 kB / 0.5917 GB, free: 14.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000644/0.3721, allocations: 374.3 kB / 0.5921 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.831e-05/0.3722, allocations: 34.75 kB / 0.5921 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.3723, allocations: 105.8 kB / 0.5922 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005456/0.3729, allocations: 359.5 kB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3729, allocations: 0 / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3729, allocations: 0.9375 kB / 0.5925 GB, free: 14.04 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.3729, allocations: 0 / 0.5925 GB, free: 14.04 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.0005938/0.3735, allocations: 481.1 kB / 0.593 GB, free: 13.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3735, allocations: 9.5 kB / 0.593 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.713e-05/0.3736, allocations: 53.5 kB / 0.5931 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.3737, allocations: 22.91 kB / 0.5931 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.3739, allocations: 216.4 kB / 0.5933 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.374, allocations: 12.2 kB / 0.5933 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.374, allocations: 14.16 kB / 0.5933 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.3744, allocations: 254.6 kB / 0.5935 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3744, allocations: 0 / 0.5935 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.3744, allocations: 6.75 kB / 0.5936 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.391e-05/0.3744, allocations: 7.578 kB / 0.5936 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005293/0.375, allocations: 431.8 kB / 0.594 GB, free: 13.07 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.376, allocations: 0.9474 MB / 0.5949 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.3763, allocations: 163.4 kB / 0.5951 GB, free: 12.17 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.3764, allocations: 62.3 kB / 0.5951 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00119/0.3776, allocations: 1.828 MB / 0.5969 GB, free: 10.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3776, allocations: 33.31 kB / 0.5969 GB, free: 10.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.3776, allocations: 0 / 0.5969 GB, free: 10.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003011/0.3779, allocations: 153.5 kB / 0.5971 GB, free: 9.992 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.378, allocations: 57.97 kB / 0.5971 GB, free: 9.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3781, allocations: 168 kB / 0.5973 GB, free: 9.797 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3782, allocations: 32.45 kB / 0.5973 GB, free: 9.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.3782, allocations: 145.4 kB / 0.5975 GB, free: 9.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.3783, allocations: 47.48 kB / 0.5975 GB, free: 9.594 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3783, allocations: 27.56 kB / 0.5975 GB, free: 9.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.361e-05/0.3784, allocations: 325.6 kB / 0.5978 GB, free: 9.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.917e-05/0.3785, allocations: 35.45 kB / 0.5979 GB, free: 9.242 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3786, allocations: 148.6 kB / 0.598 GB, free: 9.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002097/0.3788, allocations: 194.4 kB / 0.5982 GB, free: 8.914 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3789, allocations: 0 / 0.5982 GB, free: 8.914 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003117/0.3792, allocations: 220 kB / 0.5984 GB, free: 8.812 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3792, allocations: 7.094 kB / 0.5984 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.3792, allocations: 4.281 kB / 0.5984 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3792, allocations: 8.844 kB / 0.5984 GB, free: 8.809 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.3794, allocations: 58.92 kB / 0.5985 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.3794, allocations: 9.734 kB / 0.5985 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3795, allocations: 29.66 kB / 0.5985 GB, free: 8.773 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.3796, allocations: 12.12 kB / 0.5985 GB, free: 8.773 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.351e-05/0.3797, allocations: 139.7 kB / 0.5987 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.3797, allocations: 13.05 kB / 0.5987 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.38, allocations: 157.8 kB / 0.5988 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.38, allocations: 6.156 kB / 0.5988 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.38, allocations: 1 kB / 0.5988 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.38, allocations: 5.312 kB / 0.5988 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.3803, allocations: 212.5 kB / 0.599 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3803, allocations: 1.344 kB / 0.5991 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.3804, allocations: 21.78 kB / 0.5991 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.3804, allocations: 1.281 kB / 0.5991 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.3804, allocations: 5.922 kB / 0.5991 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.3804, allocations: 5.062 kB / 0.5991 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3804, allocations: 0.7031 kB / 0.5991 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.3806, allocations: 225.9 kB / 0.5993 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.3807, allocations: 112.8 kB / 0.5994 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3807, allocations: 0.6562 kB / 0.5994 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.3809, allocations: 24.53 kB / 0.5994 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.381, allocations: 9.562 kB / 0.5994 GB, free: 8.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.381, allocations: 12.31 kB / 0.5995 GB, free: 8.031 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.949e-05/0.3811, allocations: 122 kB / 0.5996 GB, free: 7.945 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3811, allocations: 4 kB / 0.5996 GB, free: 7.941 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003618/0.3814, allocations: 80.12 kB / 0.5996 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.0006167/0.3821, allocations: 0.8285 MB / 0.6005 GB, free: 7.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.3823, allocations: 116.9 kB / 0.6006 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3823, allocations: 1.188 kB / 0.6006 GB, free: 7.172 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.3824, allocations: 45.05 kB / 0.6006 GB, free: 7.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.3828, allocations: 66.3 kB / 0.6007 GB, free: 7.137 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00193/0.3847, allocations: 2.121 MB / 0.6027 GB, free: 5.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.385, allocations: 0.7103 MB / 0.6034 GB, free: 4.707 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001628/0.3851, allocations: 42.14 kB / 0.6035 GB, free: 4.688 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.3852, allocations: 48.55 kB / 0.6035 GB, free: 4.656 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3852, allocations: 5.188 kB / 0.6035 GB, free: 4.652 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.701/2.086, allocations: 4.89 MB / 0.6083 GB, free: 2.441 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/2.086, allocations: 172.6 kB / 0.6085 GB, free: 2.188 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/4.552, allocations: 7.938 kB / 0.6085 GB, free: 2.18 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)