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.001086/0.001086, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.344/1.344, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9249/0.9249, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.81 kB / 0.5054 GB, free: 5.23 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1399, allocations: 80.93 MB / 0.5845 GB, free: 4.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01535/0.1553, allocations: 12.96 MB / 0.5971 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002734/0.1581, allocations: 2.679 MB / 0.5997 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.991e-05/0.1582, allocations: 0 / 0.5997 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.1585, allocations: 43.67 kB / 0.5998 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002732/0.1588, allocations: 99.36 kB / 0.5999 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.16, allocations: 0.5016 MB / 0.6004 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002484/0.1603, allocations: 228 kB / 0.6006 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.1603, allocations: 9.562 kB / 0.6006 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008006/0.1683, allocations: 3.582 MB / 0.6041 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.1685, allocations: 95.58 kB / 0.6042 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.1686, allocations: 8 kB / 0.6042 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2419/0.4105, allocations: 1.054 MB / 0.6052 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.336e-05/0.4106, allocations: 36.86 kB / 0.6053 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.4107, allocations: 86.69 kB / 0.6053 GB, free: 39.17 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000644/0.4113, allocations: 367.1 kB / 0.6057 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.4114, allocations: 0.75 kB / 0.6057 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4114, allocations: 0 / 0.6057 GB, free: 39.16 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4114, allocations: 0.6875 kB / 0.6057 GB, free: 39.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.0006212/0.412, allocations: 0.501 MB / 0.6062 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.4121, allocations: 10.88 kB / 0.6062 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.314e-05/0.4121, allocations: 50.91 kB / 0.6062 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001591/0.4123, allocations: 25.42 kB / 0.6063 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.4124, allocations: 210.2 kB / 0.6065 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.4125, allocations: 17.8 kB / 0.6065 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.194e-05/0.4125, allocations: 12.41 kB / 0.6065 GB, free: 38.54 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.4128, allocations: 251.1 kB / 0.6067 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.4128, allocations: 0.625 kB / 0.6067 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.4129, allocations: 9.719 kB / 0.6067 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.311e-05/0.4129, allocations: 12.17 kB / 0.6068 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003749/0.4133, allocations: 425.3 kB / 0.6072 GB, free: 38.47 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008676/0.4141, allocations: 0.9667 MB / 0.6081 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.4144, allocations: 155.2 kB / 0.6083 GB, free: 37.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.748e-05/0.4145, allocations: 64.78 kB / 0.6083 GB, free: 37.7 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008525/0.4153, allocations: 1.832 MB / 0.6101 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4154, allocations: 37.56 kB / 0.6101 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.523e-06/0.4154, allocations: 2.25 kB / 0.6101 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002855/0.4157, allocations: 146.5 kB / 0.6103 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.4157, allocations: 58.19 kB / 0.6103 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.993e-05/0.4158, allocations: 167.8 kB / 0.6105 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4158, allocations: 32.61 kB / 0.6105 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.4159, allocations: 146.2 kB / 0.6107 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.4159, allocations: 51.78 kB / 0.6107 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.416, allocations: 56.66 kB / 0.6108 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.782e-05/0.416, allocations: 324.9 kB / 0.6111 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.4161, allocations: 36.59 kB / 0.6111 GB, free: 34.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.4162, allocations: 135.8 kB / 0.6113 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.4163, allocations: 205.2 kB / 0.6114 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4163, allocations: 2.844 kB / 0.6114 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002879/0.4166, allocations: 207.8 kB / 0.6116 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.4167, allocations: 8.5 kB / 0.6117 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4167, allocations: 4.688 kB / 0.6117 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4167, allocations: 6.469 kB / 0.6117 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4169, allocations: 57.27 kB / 0.6117 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4169, allocations: 9.406 kB / 0.6117 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.417, allocations: 30.75 kB / 0.6118 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.417, allocations: 14.94 kB / 0.6118 GB, free: 34.64 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.811e-05/0.4171, allocations: 132.5 kB / 0.6119 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.4171, allocations: 15.44 kB / 0.6119 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000274/0.4174, allocations: 164 kB / 0.6121 GB, free: 34.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.4174, allocations: 6.438 kB / 0.6121 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.4175, allocations: 0 / 0.6121 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4175, allocations: 0 / 0.6121 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001789/0.4176, allocations: 214.3 kB / 0.6123 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4177, allocations: 2.875 kB / 0.6123 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.556e-05/0.4177, allocations: 29.52 kB / 0.6123 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.4178, allocations: 2.625 kB / 0.6123 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.4178, allocations: 6.969 kB / 0.6123 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4178, allocations: 3.938 kB / 0.6123 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4178, allocations: 0 / 0.6123 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.418, allocations: 223.1 kB / 0.6125 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.418, allocations: 112.2 kB / 0.6126 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4181, allocations: 12.09 kB / 0.6127 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000199/0.4183, allocations: 13.39 kB / 0.6127 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.4183, allocations: 13.3 kB / 0.6127 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.4183, allocations: 5.812 kB / 0.6127 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.761e-05/0.4184, allocations: 125.8 kB / 0.6128 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4184, allocations: 0 / 0.6128 GB, free: 33.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003701/0.4188, allocations: 85.25 kB / 0.6129 GB, free: 33.94 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.0005314/0.4193, allocations: 0.8345 MB / 0.6137 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002093/0.4195, allocations: 129.8 kB / 0.6138 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.4196, allocations: 0 / 0.6138 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.4196, allocations: 46.83 kB / 0.6139 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000424/0.42, allocations: 65.66 kB / 0.6139 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.4217, allocations: 2.02 MB / 0.6159 GB, free: 31.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.4218, allocations: 0.7139 MB / 0.6166 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001707/0.422, allocations: 51.94 kB / 0.6167 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.422, allocations: 50.28 kB / 0.6167 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of SimCode: time 4.31e-07/0.422, allocations: 0 / 0.6167 GB, free: 31.04 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0204/0.4424, allocations: 5.435 MB / 0.622 GB, free: 30.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.818, allocations: 14.81 kB / 0.622 GB, free: 30.34 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)