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.001579/0.001586, allocations: 108 kB / 15.61 MB, free: 152 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.001427/0.001427, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.896/0.896, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 63.7 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1306, allocations: 80.92 MB / 0.5845 GB, free: 4.434 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01459/0.1452, allocations: 12.97 MB / 0.5971 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002541/0.1478, allocations: 2.667 MB / 0.5997 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.266e-05/0.1479, allocations: 0 / 0.5997 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.1482, allocations: 43.69 kB / 0.5998 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002517/0.1485, allocations: 99.34 kB / 0.5999 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1495, allocations: 0.5004 MB / 0.6004 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1498, allocations: 228 kB / 0.6006 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.1498, allocations: 5.562 kB / 0.6006 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007803/0.1576, allocations: 3.583 MB / 0.6041 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.1578, allocations: 87.66 kB / 0.6042 GB, free: 176 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.1578, allocations: 12 kB / 0.6042 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.222/0.3798, allocations: 1.061 MB / 0.6052 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.134e-05/0.3799, allocations: 35.89 kB / 0.6053 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.38, allocations: 85.36 kB / 0.6053 GB, free: 39.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006072/0.3807, allocations: 371.9 kB / 0.6057 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3807, allocations: 0 / 0.6057 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3807, allocations: 1.062 kB / 0.6057 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.3807, allocations: 0 / 0.6057 GB, free: 39.11 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.000601/0.3813, allocations: 0.5 MB / 0.6062 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3813, allocations: 8.75 kB / 0.6062 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.3814, allocations: 50.94 kB / 0.6062 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.3815, allocations: 27.25 kB / 0.6063 GB, free: 38.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.3817, allocations: 213.2 kB / 0.6065 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.3817, allocations: 14.89 kB / 0.6065 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.3817, allocations: 15.59 kB / 0.6065 GB, free: 38.49 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.382, allocations: 247.7 kB / 0.6067 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.3821, allocations: 1.312 kB / 0.6067 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3821, allocations: 9.594 kB / 0.6067 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.3821, allocations: 12.75 kB / 0.6068 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003525/0.3825, allocations: 427.4 kB / 0.6072 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007963/0.3833, allocations: 0.9613 MB / 0.6081 GB, free: 37.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002205/0.3835, allocations: 158 kB / 0.6083 GB, free: 37.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.857e-05/0.3836, allocations: 65.67 kB / 0.6083 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007918/0.3844, allocations: 1.834 MB / 0.6101 GB, free: 35.67 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.796e-05/0.3844, allocations: 37.25 kB / 0.6101 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.142e-06/0.3844, allocations: 0 / 0.6101 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.000274/0.3847, allocations: 147.5 kB / 0.6103 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.053e-05/0.3847, allocations: 55.34 kB / 0.6103 GB, free: 35.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.3848, allocations: 164.8 kB / 0.6105 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.3849, allocations: 28.86 kB / 0.6105 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.172e-05/0.3849, allocations: 149.8 kB / 0.6107 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.3849, allocations: 51.64 kB / 0.6107 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.385, allocations: 55.2 kB / 0.6108 GB, free: 35.21 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.959e-05/0.385, allocations: 321.2 kB / 0.6111 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.546e-05/0.3851, allocations: 40.78 kB / 0.6111 GB, free: 34.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.3852, allocations: 137.8 kB / 0.6112 GB, free: 34.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3853, allocations: 202.7 kB / 0.6114 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3854, allocations: 3.125 kB / 0.6114 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002576/0.3856, allocations: 219.7 kB / 0.6117 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.3856, allocations: 8.812 kB / 0.6117 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3856, allocations: 2.875 kB / 0.6117 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3857, allocations: 5.906 kB / 0.6117 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.3858, allocations: 55.02 kB / 0.6117 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3858, allocations: 9.75 kB / 0.6117 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.3859, allocations: 30.97 kB / 0.6118 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.386, allocations: 15.84 kB / 0.6118 GB, free: 34.59 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.226e-05/0.386, allocations: 129.9 kB / 0.6119 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.3861, allocations: 19.69 kB / 0.6119 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.3863, allocations: 157.1 kB / 0.6121 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.3864, allocations: 6.812 kB / 0.6121 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3864, allocations: 0 / 0.6121 GB, free: 34.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3864, allocations: 7.375 kB / 0.6121 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.3866, allocations: 214 kB / 0.6123 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3866, allocations: 2.562 kB / 0.6123 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.524e-05/0.3867, allocations: 22 kB / 0.6123 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3867, allocations: 3 kB / 0.6123 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.3867, allocations: 3.422 kB / 0.6123 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.3867, allocations: 6.906 kB / 0.6123 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3867, allocations: 0 / 0.6123 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.3869, allocations: 223.7 kB / 0.6125 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.3869, allocations: 112.8 kB / 0.6126 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.387, allocations: 0 / 0.6126 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.3872, allocations: 24.38 kB / 0.6127 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.3872, allocations: 6.547 kB / 0.6127 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3872, allocations: 14.73 kB / 0.6127 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.576e-05/0.3873, allocations: 121.1 kB / 0.6128 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3873, allocations: 0 / 0.6128 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003361/0.3876, allocations: 84.27 kB / 0.6129 GB, free: 33.89 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.0004975/0.3881, allocations: 0.8325 MB / 0.6137 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3883, allocations: 131.1 kB / 0.6138 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3883, allocations: 2.844 kB / 0.6138 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.436e-05/0.3884, allocations: 45.45 kB / 0.6139 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.3888, allocations: 65.55 kB / 0.6139 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.3903, allocations: 2.028 MB / 0.6159 GB, free: 31.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.3904, allocations: 0.7126 MB / 0.6166 GB, free: 31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001635/0.3906, allocations: 55.8 kB / 0.6167 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.3907, allocations: 42.64 kB / 0.6167 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.3907, allocations: 0 / 0.6167 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.733/1.124, allocations: 5.433 MB / 0.622 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/11.15, allocations: 18.59 kB / 0.622 GB, free: 30.29 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)