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.0009998/0.0009998, 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.001138/0.001139, allocations: 195.4 kB / 16.14 MB, free: 6.688 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: 222.9 MB / 239.8 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8417/0.8417, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 60.94 kB / 0.5048 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1309, allocations: 80.92 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01468/0.1456, allocations: 13.87 MB / 0.5974 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.1482, allocations: 2.687 MB / 0.6 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.398e-05/0.1483, allocations: 4 kB / 0.6 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000225/0.1485, allocations: 39.8 kB / 0.6 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001987/0.1487, allocations: 87.42 kB / 0.6001 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000963/0.1497, allocations: 468.7 kB / 0.6005 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002762/0.15, allocations: 307.8 kB / 0.6008 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.658e-05/0.15, allocations: 9.562 kB / 0.6009 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006761/0.1568, allocations: 3.154 MB / 0.6039 GB, free: 212 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.1569, allocations: 87.67 kB / 0.604 GB, free: 124 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.157, allocations: 11.94 kB / 0.604 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2445/0.4015, allocations: 0.9617 MB / 0.605 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.352e-05/0.4016, allocations: 41.34 kB / 0.605 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.4017, allocations: 84.91 kB / 0.6051 GB, free: 39.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005627/0.4023, allocations: 367.2 kB / 0.6054 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4023, allocations: 0 / 0.6054 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4023, allocations: 3.562 kB / 0.6054 GB, free: 39.22 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.4023, allocations: 0.5625 kB / 0.6054 GB, free: 39.22 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.0005972/0.4029, allocations: 0.4923 MB / 0.6059 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.403, allocations: 9.188 kB / 0.6059 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.403, allocations: 50.03 kB / 0.606 GB, free: 38.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.4032, allocations: 25.11 kB / 0.606 GB, free: 38.8 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.4033, allocations: 222.4 kB / 0.6062 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.4033, allocations: 12.55 kB / 0.6062 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.4034, allocations: 15.34 kB / 0.6062 GB, free: 38.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.4037, allocations: 245.4 kB / 0.6065 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.4037, allocations: 0.5625 kB / 0.6065 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.229e-05/0.4037, allocations: 9.188 kB / 0.6065 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.4038, allocations: 9.188 kB / 0.6065 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003579/0.4041, allocations: 430.6 kB / 0.6069 GB, free: 38.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000807/0.4049, allocations: 0.9615 MB / 0.6078 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.4052, allocations: 155.5 kB / 0.608 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.73e-05/0.4053, allocations: 67.91 kB / 0.6081 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008345/0.4061, allocations: 1.833 MB / 0.6098 GB, free: 35.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.4061, allocations: 40.81 kB / 0.6099 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.323e-06/0.4061, allocations: 0 / 0.6099 GB, free: 35.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002832/0.4064, allocations: 146.8 kB / 0.61 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.4065, allocations: 55.34 kB / 0.6101 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.4066, allocations: 167.9 kB / 0.6102 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.4066, allocations: 32.39 kB / 0.6103 GB, free: 35.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.4066, allocations: 139.9 kB / 0.6104 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.4067, allocations: 61.03 kB / 0.6105 GB, free: 35.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.4067, allocations: 54.5 kB / 0.6105 GB, free: 35.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.4068, allocations: 326.7 kB / 0.6108 GB, free: 35 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.526e-05/0.4068, allocations: 35 kB / 0.6109 GB, free: 35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.339e-05/0.4069, allocations: 141.2 kB / 0.611 GB, free: 34.88 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.4071, allocations: 204.8 kB / 0.6112 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4071, allocations: 0 / 0.6112 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002552/0.4074, allocations: 212.7 kB / 0.6114 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.4074, allocations: 6.469 kB / 0.6114 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4074, allocations: 3.156 kB / 0.6114 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4074, allocations: 6.312 kB / 0.6114 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.4076, allocations: 62.7 kB / 0.6115 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4076, allocations: 2.969 kB / 0.6115 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.4077, allocations: 29.19 kB / 0.6115 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.4077, allocations: 19.5 kB / 0.6115 GB, free: 34.69 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 7.474e-05/0.4078, allocations: 127.6 kB / 0.6116 GB, free: 34.58 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.4078, allocations: 17.72 kB / 0.6117 GB, free: 34.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.4081, allocations: 161.5 kB / 0.6118 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.4081, allocations: 8.797 kB / 0.6118 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4081, allocations: 0.625 kB / 0.6118 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4081, allocations: 0 / 0.6118 GB, free: 34.53 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.4083, allocations: 220.3 kB / 0.612 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4083, allocations: 0 / 0.612 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.016e-05/0.4084, allocations: 29.64 kB / 0.6121 GB, free: 34.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4084, allocations: 4 kB / 0.6121 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.4084, allocations: 6.344 kB / 0.6121 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.4084, allocations: 7.438 kB / 0.6121 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4084, allocations: 0 / 0.6121 GB, free: 34.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001791/0.4086, allocations: 213.5 kB / 0.6123 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.4087, allocations: 110.9 kB / 0.6124 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.477e-05/0.4087, allocations: 5.562 kB / 0.6124 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001869/0.4089, allocations: 23.22 kB / 0.6124 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.722e-05/0.4089, allocations: 12.38 kB / 0.6124 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.409, allocations: 14.02 kB / 0.6124 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.654e-05/0.409, allocations: 118.7 kB / 0.6125 GB, free: 34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.409, allocations: 0 / 0.6125 GB, free: 34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003389/0.4094, allocations: 87.39 kB / 0.6126 GB, free: 33.99 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.0005183/0.4099, allocations: 0.8358 MB / 0.6134 GB, free: 33.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001852/0.4101, allocations: 120.5 kB / 0.6136 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4101, allocations: 0 / 0.6136 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.233e-05/0.4101, allocations: 43.2 kB / 0.6136 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.4106, allocations: 55.11 kB / 0.6137 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.4121, allocations: 2.084 MB / 0.6157 GB, free: 31.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000118/0.4122, allocations: 0.7153 MB / 0.6164 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001637/0.4124, allocations: 50.83 kB / 0.6164 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.4125, allocations: 49.73 kB / 0.6165 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.7e-07/0.4125, allocations: 0 / 0.6165 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3944/0.8069, allocations: 5.215 MB / 0.6216 GB, free: 30.54 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.8072, allocations: 205.8 kB / 0.6218 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.85/2.657, allocations: 3.938 kB / 0.6218 GB, free: 30.28 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/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)