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.000988/0.0009879, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.001146/0.001146, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9953/0.9953, allocations: 135.3 MB / 426.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.0003468, allocations: 8 kB / 0.5071 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1976, allocations: 82.31 MB / 0.5875 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01378/0.2114, allocations: 12.01 MB / 0.5992 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002548/0.2141, allocations: 2.447 MB / 0.6016 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.2142, allocations: 4 kB / 0.6016 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.2145, allocations: 39.8 kB / 0.6016 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.2148, allocations: 87.36 kB / 0.6017 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.2163, allocations: 412.2 kB / 0.6021 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003468/0.2166, allocations: 271.8 kB / 0.6024 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.117e-05/0.2167, allocations: 9.562 kB / 0.6024 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3811/0.5978, allocations: 4.37 MB / 0.6066 GB, free: 37 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002857/0.5982, allocations: 88.25 kB / 0.6067 GB, free: 37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.5982, allocations: 5.875 kB / 0.6067 GB, free: 37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002973/0.6012, allocations: 0.9319 MB / 0.6076 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.906e-05/0.6013, allocations: 40.31 kB / 0.6077 GB, free: 36.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.722e-05/0.6014, allocations: 53.58 kB / 0.6077 GB, free: 36.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004314/0.6018, allocations: 231 kB / 0.608 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6018, allocations: 0.5469 kB / 0.608 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6018, allocations: 0 / 0.608 GB, free: 36.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.6018, allocations: 3.156 kB / 0.608 GB, free: 36.95 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.00067/0.6025, allocations: 469 kB / 0.6084 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.6026, allocations: 8.906 kB / 0.6084 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.863e-05/0.6026, allocations: 55.05 kB / 0.6085 GB, free: 36.53 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.6028, allocations: 22.25 kB / 0.6085 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.603, allocations: 215.8 kB / 0.6087 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.603, allocations: 15.3 kB / 0.6087 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.603, allocations: 14.34 kB / 0.6087 GB, free: 36.32 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003496/0.6034, allocations: 241.9 kB / 0.609 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.6034, allocations: 0 / 0.609 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.6034, allocations: 12.7 kB / 0.609 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.6035, allocations: 6.5 kB / 0.609 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004535/0.6039, allocations: 434.1 kB / 0.6094 GB, free: 36.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008943/0.6048, allocations: 0.9657 MB / 0.6103 GB, free: 35.5 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.6051, allocations: 157 kB / 0.6105 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.6052, allocations: 64.75 kB / 0.6105 GB, free: 35.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009439/0.6061, allocations: 1.832 MB / 0.6123 GB, free: 33.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.6062, allocations: 39.72 kB / 0.6124 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.6062, allocations: 0 / 0.6124 GB, free: 33.44 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002924/0.6065, allocations: 140.9 kB / 0.6125 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.703e-05/0.6065, allocations: 54.78 kB / 0.6126 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.6066, allocations: 175.2 kB / 0.6127 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.6067, allocations: 28.95 kB / 0.6127 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.6067, allocations: 141 kB / 0.6129 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.6068, allocations: 60.64 kB / 0.6129 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.157e-06/0.6068, allocations: 3.938 kB / 0.6129 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.6068, allocations: 326.9 kB / 0.6133 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.775e-05/0.6069, allocations: 32.69 kB / 0.6133 GB, free: 32.73 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.156e-05/0.607, allocations: 140.8 kB / 0.6134 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-05/0.6071, allocations: 63.16 kB / 0.6135 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6071, allocations: 0 / 0.6135 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002702/0.6074, allocations: 208.9 kB / 0.6137 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.6074, allocations: 9.266 kB / 0.6137 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.6074, allocations: 3.031 kB / 0.6137 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6074, allocations: 5.719 kB / 0.6137 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.6076, allocations: 55.03 kB / 0.6138 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.6076, allocations: 12.81 kB / 0.6138 GB, free: 32.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.6077, allocations: 27.66 kB / 0.6138 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.6078, allocations: 11.41 kB / 0.6138 GB, free: 32.54 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 8.72e-05/0.6079, allocations: 139.7 kB / 0.6139 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.79e-05/0.6079, allocations: 16.56 kB / 0.6139 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.6082, allocations: 160.4 kB / 0.6141 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.6082, allocations: 2.906 kB / 0.6141 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6082, allocations: 0 / 0.6141 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6082, allocations: 0 / 0.6141 GB, free: 32.37 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.6084, allocations: 214.7 kB / 0.6143 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6084, allocations: 5.594 kB / 0.6143 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.891e-05/0.6085, allocations: 28.44 kB / 0.6143 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.6085, allocations: 0 / 0.6143 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.6085, allocations: 6.031 kB / 0.6143 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6085, allocations: 3.094 kB / 0.6144 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6085, allocations: 0 / 0.6144 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.6087, allocations: 224.2 kB / 0.6146 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.6088, allocations: 117.6 kB / 0.6147 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.6088, allocations: 3 kB / 0.6147 GB, free: 31.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.609, allocations: 23.83 kB / 0.6147 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.587e-05/0.609, allocations: 12.52 kB / 0.6147 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.6091, allocations: 12.72 kB / 0.6147 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.314e-05/0.6091, allocations: 119.7 kB / 0.6148 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6091, allocations: 0 / 0.6148 GB, free: 31.85 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00038/0.6095, allocations: 80.53 kB / 0.6149 GB, free: 31.84 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.0005014/0.61, allocations: 0.8251 MB / 0.6157 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002019/0.6102, allocations: 119.3 kB / 0.6158 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.6103, allocations: 2.812 kB / 0.6158 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.74e-05/0.6103, allocations: 44.06 kB / 0.6159 GB, free: 31.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.6108, allocations: 53.06 kB / 0.6159 GB, free: 31.14 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.6121, allocations: 1.021 MB / 0.6169 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001376/0.6122, allocations: 0.7122 MB / 0.6176 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.6124, allocations: 47.77 kB / 0.6177 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.59e-05/0.6125, allocations: 45.53 kB / 0.6177 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of SimCode: time 4.1e-07/0.6125, allocations: 4 kB / 0.6177 GB, free: 29.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.6278, allocations: 5.006 MB / 0.6226 GB, free: 29.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001422/0.628, allocations: 192.2 kB / 0.6228 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.565, allocations: 0 / 0.6228 GB, free: 29.18 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: