Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="IDEAS_dev_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.00129/0.001289, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002066/0.002066, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.201/2.201, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.626/1.626, allocations: 135.2 MB / 426.2 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005002, allocations: 9.438 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.3076, allocations: 82.31 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.02219/0.3298, allocations: 11.17 MB / 0.5982 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004152/0.3341, allocations: 2.148 MB / 0.6003 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002673/0.3344, allocations: 0 / 0.6003 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004219/0.3348, allocations: 31.86 kB / 0.6003 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000432/0.3353, allocations: 87.75 kB / 0.6004 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.3376, allocations: 429.2 kB / 0.6008 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000413/0.338, allocations: 152.7 kB / 0.601 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.431e-05/0.3381, allocations: 13.56 kB / 0.601 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01513/0.3533, allocations: 4.295 MB / 0.6052 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.3537, allocations: 79.67 kB / 0.6052 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.215e-05/0.3537, allocations: 4 kB / 0.6052 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.6925/1.046, allocations: 0.9978 MB / 0.6062 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001973/1.046, allocations: 39.73 kB / 0.6063 GB, free: 38.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001752/1.047, allocations: 53.8 kB / 0.6063 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001161/1.048, allocations: 222.9 kB / 0.6065 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/1.048, allocations: 0 / 0.6065 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.848e-06/1.048, allocations: 1.594 kB / 0.6065 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.048, allocations: 0 / 0.6065 GB, free: 38.16 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.001165/1.049, allocations: 477.4 kB / 0.607 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.494e-05/1.049, allocations: 8.75 kB / 0.607 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.32e-05/1.049, allocations: 49.67 kB / 0.607 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/1.05, allocations: 23.3 kB / 0.6071 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/1.05, allocations: 216.4 kB / 0.6073 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/1.05, allocations: 13.58 kB / 0.6073 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.677e-05/1.05, allocations: 13.44 kB / 0.6073 GB, free: 37.5 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005814/1.051, allocations: 245.7 kB / 0.6075 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/1.051, allocations: 0.5625 kB / 0.6075 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/1.051, allocations: 9.688 kB / 0.6075 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.016e-05/1.051, allocations: 8.234 kB / 0.6075 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008924/1.052, allocations: 421.8 kB / 0.6079 GB, free: 37.43 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001921/1.054, allocations: 1.022 MB / 0.6089 GB, free: 36.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000588/1.054, allocations: 158.5 kB / 0.6091 GB, free: 36.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001936/1.056, allocations: 1.848 MB / 0.6109 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.25e-05/1.056, allocations: 42.83 kB / 0.6109 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.525e-06/1.056, allocations: 0 / 0.6109 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005809/1.057, allocations: 139.4 kB / 0.6111 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/1.057, allocations: 58.94 kB / 0.6111 GB, free: 34.54 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/1.057, allocations: 170.8 kB / 0.6113 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.148e-05/1.057, allocations: 29.14 kB / 0.6113 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/1.057, allocations: 143.4 kB / 0.6115 GB, free: 34.29 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/1.057, allocations: 55.61 kB / 0.6115 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/1.057, allocations: 5.781 kB / 0.6115 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001044/1.058, allocations: 326.9 kB / 0.6118 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001113/1.058, allocations: 34.47 kB / 0.6119 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/1.058, allocations: 142.5 kB / 0.612 GB, free: 33.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001708/1.058, allocations: 53.12 kB / 0.612 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/1.058, allocations: 0 / 0.612 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005639/1.059, allocations: 216.9 kB / 0.6123 GB, free: 33.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/1.059, allocations: 13.8 kB / 0.6123 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/1.059, allocations: 3.125 kB / 0.6123 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/1.059, allocations: 5.875 kB / 0.6123 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/1.059, allocations: 59.02 kB / 0.6123 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.173e-05/1.059, allocations: 6.203 kB / 0.6123 GB, free: 33.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/1.059, allocations: 30.39 kB / 0.6124 GB, free: 33.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/1.06, allocations: 14.91 kB / 0.6124 GB, free: 33.74 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001639/1.06, allocations: 131 kB / 0.6125 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.207e-05/1.06, allocations: 19.78 kB / 0.6125 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000539/1.06, allocations: 162.3 kB / 0.6127 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/1.06, allocations: 2.562 kB / 0.6127 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.06, allocations: 1.875 kB / 0.6127 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.06, allocations: 1.438 kB / 0.6127 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003779/1.061, allocations: 219.4 kB / 0.6129 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.061, allocations: 0 / 0.6129 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001861/1.061, allocations: 30.98 kB / 0.6129 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/1.061, allocations: 2.656 kB / 0.6129 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/1.061, allocations: 7.312 kB / 0.6129 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/1.061, allocations: 7.234 kB / 0.6129 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/1.061, allocations: 0 / 0.6129 GB, free: 33.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003568/1.061, allocations: 214 kB / 0.6131 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/1.062, allocations: 125.9 kB / 0.6133 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/1.062, allocations: 2.625 kB / 0.6133 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.062, allocations: 21.91 kB / 0.6133 GB, free: 33.13 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/1.062, allocations: 13.33 kB / 0.6133 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-05/1.062, allocations: 16.36 kB / 0.6133 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001317/1.062, allocations: 123 kB / 0.6134 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/1.062, allocations: 0 / 0.6134 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007375/1.063, allocations: 71.25 kB / 0.6135 GB, free: 33.05 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009205/1.064, allocations: 0.8318 MB / 0.6143 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004613/1.064, allocations: 123.3 kB / 0.6144 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/1.065, allocations: 0 / 0.6144 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001345/1.065, allocations: 46.05 kB / 0.6145 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007791/1.065, allocations: 53.66 kB / 0.6145 GB, free: 32.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/1.069, allocations: 3.258 MB / 0.6177 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/1.07, allocations: 0.7199 MB / 0.6184 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004305/1.07, allocations: 55.02 kB / 0.6185 GB, free: 28.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/1.07, allocations: 46.31 kB / 0.6185 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of SimCode: time 1.924e-06/1.07, allocations: 0 / 0.6185 GB, free: 28.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/1.1, allocations: 4.966 MB / 0.6234 GB, free: 28.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/1.1, allocations: 184.1 kB / 0.6235 GB, free: 28.13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.12/3.22, allocations: 0 / 0.6235 GB, free: 28.13 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) Environment - environmentSimulation: