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.006084/0.006084, allocations: 100.9 kB / 15.73 MB, free: 6 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.001466/0.001466, allocations: 189.9 kB / 16.67 MB, free: 5.934 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9674/0.9674, allocations: 135.5 MB / 426.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 63.91 kB / 0.5858 GB, free: 3.191 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.4566, allocations: 81.02 MB / 0.6649 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01461/0.4713, allocations: 12.98 MB / 0.6776 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003108/0.4744, allocations: 2.668 MB / 0.6802 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.671e-05/0.4746, allocations: 1.062 kB / 0.6802 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.4748, allocations: 51.39 kB / 0.6803 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.4751, allocations: 91.83 kB / 0.6803 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.4764, allocations: 0.5074 MB / 0.6808 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003088/0.4768, allocations: 232.5 kB / 0.6811 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.4768, allocations: 16.36 kB / 0.6811 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01098/0.4878, allocations: 3.576 MB / 0.6846 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.4881, allocations: 101 kB / 0.6847 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.4881, allocations: 7.75 kB / 0.6847 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002674/0.4908, allocations: 1.065 MB / 0.6857 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.004e-05/0.4909, allocations: 39.08 kB / 0.6857 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.491, allocations: 84.14 kB / 0.6858 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007739/0.4918, allocations: 372 kB / 0.6862 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4918, allocations: 0 / 0.6862 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4918, allocations: 0 / 0.6862 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4918, allocations: 0 / 0.6862 GB, free: 6.539 MB / 0.5137 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.0007929/0.4926, allocations: 0.5059 MB / 0.6867 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.4926, allocations: 12.91 kB / 0.6867 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.4927, allocations: 53.55 kB / 0.6867 GB, free: 6 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001644/0.4929, allocations: 25.14 kB / 0.6868 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.4932, allocations: 218.3 kB / 0.687 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.4932, allocations: 14.36 kB / 0.687 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.4932, allocations: 15.34 kB / 0.687 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000415/0.4936, allocations: 246.3 kB / 0.6872 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4937, allocations: 3.984 kB / 0.6872 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.396e-05/0.4937, allocations: 7.344 kB / 0.6872 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.548e-05/0.4937, allocations: 8.969 kB / 0.6873 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005094/0.4942, allocations: 436.2 kB / 0.6877 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.4954, allocations: 0.9619 MB / 0.6886 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.4957, allocations: 161.6 kB / 0.6888 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.4958, allocations: 63.19 kB / 0.6888 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001547/0.4974, allocations: 1.836 MB / 0.6906 GB, free: 2.199 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.4974, allocations: 40.69 kB / 0.6907 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.4975, allocations: 0 / 0.6907 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=15): time 0.0003533/0.4978, allocations: 147.3 kB / 0.6908 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.4979, allocations: 54.25 kB / 0.6908 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.498, allocations: 170.7 kB / 0.691 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.763e-05/0.4981, allocations: 31.14 kB / 0.691 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.4982, allocations: 139.7 kB / 0.6912 GB, free: 1.699 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.506e-05/0.4982, allocations: 59.09 kB / 0.6912 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.4983, allocations: 56.52 kB / 0.6913 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4984, allocations: 326 kB / 0.6916 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.47e-05/0.4985, allocations: 41.44 kB / 0.6916 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.4987, allocations: 135.2 kB / 0.6918 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.499, allocations: 202.9 kB / 0.692 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.874e-06/0.499, allocations: 1 kB / 0.692 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004146/0.4994, allocations: 219.5 kB / 0.6922 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.4994, allocations: 7.344 kB / 0.6922 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.4995, allocations: 3.312 kB / 0.6922 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.4995, allocations: 12.91 kB / 0.6922 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.4997, allocations: 52.89 kB / 0.6922 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.4997, allocations: 9.734 kB / 0.6922 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.4999, allocations: 30.5 kB / 0.6923 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.4999, allocations: 13.94 kB / 0.6923 GB, free: 0.7578 MB / 0.5137 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 0.0001663/0.5001, allocations: 143.2 kB / 0.6924 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-05/0.5001, allocations: 14.88 kB / 0.6924 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003547/0.5005, allocations: 152.4 kB / 0.6926 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.951e-05/0.5005, allocations: 9.703 kB / 0.6926 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5005, allocations: 0 / 0.6926 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.5005, allocations: 1.094 kB / 0.6926 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.5009, allocations: 213.9 kB / 0.6928 GB, free: 288 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5009, allocations: 3.984 kB / 0.6928 GB, free: 284 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.527e-05/0.501, allocations: 22.97 kB / 0.6928 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.501, allocations: 1.312 kB / 0.6928 GB, free: 280 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.501, allocations: 9.328 kB / 0.6928 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.622e-05/0.501, allocations: 9.188 kB / 0.6928 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.501, allocations: 0 / 0.6928 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/0.5014, allocations: 217.2 kB / 0.6931 GB, free: 88 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001639/0.5016, allocations: 113.4 kB / 0.6932 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.5016, allocations: 5.469 kB / 0.6932 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.5018, allocations: 15.67 kB / 0.6932 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.984e-05/0.5018, allocations: 13.55 kB / 0.6932 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.5019, allocations: 10.56 kB / 0.6932 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001078/0.502, allocations: 119.6 kB / 0.6933 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.502, allocations: 0 / 0.6933 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004473/0.5024, allocations: 82.33 kB / 0.6934 GB, free: 15.82 MB / 0.5294 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.0008146/0.5033, allocations: 0.8441 MB / 0.6942 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.5035, allocations: 113.4 kB / 0.6943 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5035, allocations: 4.125 kB / 0.6943 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 6.941e-05/0.5036, allocations: 49.81 kB / 0.6944 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.5041, allocations: 54.34 kB / 0.6944 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.5065, allocations: 2.045 MB / 0.6964 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.5068, allocations: 0.7154 MB / 0.6971 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.000169/0.507, allocations: 47.41 kB / 0.6972 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.667e-05/0.5071, allocations: 44.92 kB / 0.6972 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.5071, allocations: 0 / 0.6972 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.5358, allocations: 5.489 MB / 0.7026 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.62/9.156, allocations: 6.469 kB / 0.7026 GB, free: 9.383 MB / 0.5294 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)