Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",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.001153/0.001153, 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.001173/0.001173, allocations: 195.3 kB / 16.14 MB, free: 6.707 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.209/1.209, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6789/0.6789, allocations: 132.2 MB / 422.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 58.41 kB / 0.5012 GB, free: 9.109 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.122, allocations: 80.21 MB / 0.5795 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0137/0.1357, allocations: 13.87 MB / 0.593 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.1381, allocations: 2.683 MB / 0.5957 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.002e-05/0.1382, allocations: 7.938 kB / 0.5957 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.1384, allocations: 35.8 kB / 0.5957 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.1387, allocations: 95.42 kB / 0.5958 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1397, allocations: 462.9 kB / 0.5962 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.14, allocations: 311.8 kB / 0.5965 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.293e-05/0.14, allocations: 17.56 kB / 0.5966 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006949/0.147, allocations: 3.146 MB / 0.5996 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.1471, allocations: 99.64 kB / 0.5997 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.382e-05/0.1472, allocations: 8 kB / 0.5997 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.1492, allocations: 0.9674 MB / 0.6007 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.1493, allocations: 43.83 kB / 0.6007 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.933e-05/0.1494, allocations: 79.64 kB / 0.6008 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005174/0.1499, allocations: 363 kB / 0.6011 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1499, allocations: 4 kB / 0.6011 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.92e-07/0.1499, allocations: 0 / 0.6011 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.1499, allocations: 0 / 0.6011 GB, free: 2.887 MB / 0.4981 GB 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.0006258/0.1506, allocations: 0.4955 MB / 0.6016 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1506, allocations: 8.031 kB / 0.6016 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.798e-05/0.1506, allocations: 54.73 kB / 0.6017 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.1508, allocations: 20.75 kB / 0.6017 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.151, allocations: 216 kB / 0.6019 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.151, allocations: 16.69 kB / 0.6019 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.151, allocations: 24.3 kB / 0.6019 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.1514, allocations: 252.6 kB / 0.6022 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.1514, allocations: 4 kB / 0.6022 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.323e-05/0.1514, allocations: 15.98 kB / 0.6022 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.1515, allocations: 4 kB / 0.6022 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004399/0.1519, allocations: 423.5 kB / 0.6026 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009689/0.1529, allocations: 0.9527 MB / 0.6035 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.1531, allocations: 167.1 kB / 0.6037 GB, free: 52 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.1886/0.3417, allocations: 59.91 kB / 0.6038 GB, free: 58.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009363/0.3427, allocations: 1.827 MB / 0.6055 GB, free: 56.47 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.6e-05/0.3427, allocations: 36.16 kB / 0.6056 GB, free: 56.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3427, allocations: 0 / 0.6056 GB, free: 56.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002885/0.343, allocations: 145.5 kB / 0.6057 GB, free: 56.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.343, allocations: 61.88 kB / 0.6058 GB, free: 56.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.749e-05/0.3431, allocations: 171 kB / 0.6059 GB, free: 56.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.3432, allocations: 32.02 kB / 0.606 GB, free: 56.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.155e-05/0.3432, allocations: 136.9 kB / 0.6061 GB, free: 56.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.125e-05/0.3432, allocations: 57.17 kB / 0.6062 GB, free: 56.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.3433, allocations: 53.12 kB / 0.6062 GB, free: 56.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.3433, allocations: 333.2 kB / 0.6065 GB, free: 55.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.3434, allocations: 34.89 kB / 0.6066 GB, free: 55.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-05/0.3435, allocations: 145.6 kB / 0.6067 GB, free: 55.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3436, allocations: 195.1 kB / 0.6069 GB, free: 55.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3436, allocations: 2.969 kB / 0.6069 GB, free: 55.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002391/0.3439, allocations: 220.6 kB / 0.6071 GB, free: 55.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.3439, allocations: 8.5 kB / 0.6071 GB, free: 55.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3439, allocations: 4.969 kB / 0.6071 GB, free: 55.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3439, allocations: 5.625 kB / 0.6071 GB, free: 55.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3441, allocations: 50.88 kB / 0.6072 GB, free: 55.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3441, allocations: 8.672 kB / 0.6072 GB, free: 55.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.887e-05/0.3442, allocations: 27.09 kB / 0.6072 GB, free: 55.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3442, allocations: 17.66 kB / 0.6072 GB, free: 55.41 MB / 0.4981 GB 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 6.754e-05/0.3443, allocations: 136.7 kB / 0.6073 GB, free: 55.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.3443, allocations: 20.89 kB / 0.6074 GB, free: 55.29 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.3446, allocations: 151 kB / 0.6075 GB, free: 55.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.188e-06/0.3446, allocations: 2.75 kB / 0.6075 GB, free: 55.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3446, allocations: 0 / 0.6075 GB, free: 55.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3446, allocations: 3.469 kB / 0.6075 GB, free: 55.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.3448, allocations: 218.1 kB / 0.6077 GB, free: 55.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3448, allocations: 7.281 kB / 0.6077 GB, free: 55.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.577e-05/0.3449, allocations: 26.88 kB / 0.6078 GB, free: 55.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3449, allocations: 6.375 kB / 0.6078 GB, free: 55.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.3449, allocations: 3.438 kB / 0.6078 GB, free: 55.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3449, allocations: 3.094 kB / 0.6078 GB, free: 55.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3449, allocations: 0 / 0.6078 GB, free: 55.05 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.3451, allocations: 220.5 kB / 0.608 GB, free: 54.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.463e-05/0.3451, allocations: 109.9 kB / 0.6081 GB, free: 54.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3452, allocations: 9.781 kB / 0.6081 GB, free: 54.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.3454, allocations: 18.73 kB / 0.6081 GB, free: 54.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.251e-05/0.3454, allocations: 11.81 kB / 0.6081 GB, free: 54.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.3454, allocations: 8.578 kB / 0.6081 GB, free: 54.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.165e-05/0.3455, allocations: 119.9 kB / 0.6082 GB, free: 54.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3455, allocations: 0 / 0.6082 GB, free: 54.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003472/0.3458, allocations: 87.7 kB / 0.6083 GB, free: 54.73 MB / 0.4981 GB 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.0004999/0.3463, allocations: 0.8436 MB / 0.6092 GB, free: 54.06 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.3465, allocations: 118.9 kB / 0.6093 GB, free: 54.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3465, allocations: 0 / 0.6093 GB, free: 54.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.14e-05/0.3466, allocations: 48.09 kB / 0.6093 GB, free: 54.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.347, allocations: 50.28 kB / 0.6094 GB, free: 54.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.3484, allocations: 2.076 MB / 0.6114 GB, free: 52.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.692e-05/0.3485, allocations: 0.7094 MB / 0.6121 GB, free: 51.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.3487, allocations: 58.53 kB / 0.6121 GB, free: 51.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.3487, allocations: 42.67 kB / 0.6122 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3487, allocations: 0 / 0.6122 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1692/0.5179, allocations: 5.211 MB / 0.6173 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001513/0.5181, allocations: 204.9 kB / 0.6175 GB, free: 50.96 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.92/2.438, allocations: 0 / 0.6175 GB, free: 50.96 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)