Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",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.001119/0.001119, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001271/0.001271, allocations: 194.5 kB / 16.25 MB, free: 6.633 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.316/1.316, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.069/1.069, allocations: 135.1 MB / 425.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001558, allocations: 72.31 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1795, allocations: 80.92 MB / 0.584 GB, free: 4.801 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.007045/0.1866, allocations: 4.747 MB / 0.5886 GB, free: 16 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003045/0.1897, allocations: 2.683 MB / 0.5912 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1899, allocations: 4 kB / 0.5912 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002836/0.1902, allocations: 35.8 kB / 0.5913 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.1905, allocations: 95.42 kB / 0.5914 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.1918, allocations: 470.1 kB / 0.5918 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.1921, allocations: 235.9 kB / 0.592 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.1922, allocations: 13.55 kB / 0.592 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002385/0.1924, allocations: 119.5 kB / 0.5922 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.1926, allocations: 91.61 kB / 0.5922 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.1926, allocations: 8 kB / 0.5923 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007038/0.1933, allocations: 375.1 kB / 0.5926 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.564e-05/0.1934, allocations: 39.89 kB / 0.5927 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.728e-05/0.1935, allocations: 75.66 kB / 0.5927 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006448/0.1942, allocations: 371.3 kB / 0.5931 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1942, allocations: 0 / 0.5931 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1942, allocations: 0 / 0.5931 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.1942, allocations: 0 / 0.5931 GB, free: 11.43 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.0007332/0.1949, allocations: 0.507 MB / 0.5936 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.195, allocations: 8.031 kB / 0.5936 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.1951, allocations: 54.73 kB / 0.5936 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.1952, allocations: 20.75 kB / 0.5937 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.1955, allocations: 216 kB / 0.5939 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1955, allocations: 12.7 kB / 0.5939 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.1955, allocations: 12.38 kB / 0.5939 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.1959, allocations: 252 kB / 0.5941 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1959, allocations: 0 / 0.5941 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.196, allocations: 4 kB / 0.5941 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.196, allocations: 12 kB / 0.5941 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004587/0.1965, allocations: 427.5 kB / 0.5945 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001079/0.1975, allocations: 0.941 MB / 0.5955 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.1978, allocations: 166.5 kB / 0.5956 GB, free: 8.617 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.1979, allocations: 68.88 kB / 0.5957 GB, free: 8.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.1992, allocations: 1.817 MB / 0.5975 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.1992, allocations: 38.56 kB / 0.5975 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.1993, allocations: 0 / 0.5975 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003372/0.1996, allocations: 149.3 kB / 0.5976 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.1996, allocations: 59.41 kB / 0.5977 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.1998, allocations: 166.6 kB / 0.5979 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.1998, allocations: 29.7 kB / 0.5979 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.1999, allocations: 147.7 kB / 0.598 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.2, allocations: 51.28 kB / 0.5981 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.2, allocations: 53.61 kB / 0.5981 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.2001, allocations: 322.8 kB / 0.5984 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.629e-05/0.2002, allocations: 31.98 kB / 0.5985 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.2003, allocations: 143.5 kB / 0.5986 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002306/0.2006, allocations: 201.5 kB / 0.5988 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2006, allocations: 0 / 0.5988 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003183/0.2009, allocations: 215.8 kB / 0.599 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2009, allocations: 4 kB / 0.599 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.201, allocations: 4 kB / 0.599 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.201, allocations: 12.41 kB / 0.599 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.2011, allocations: 59.84 kB / 0.5991 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.2012, allocations: 15.88 kB / 0.5991 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.2013, allocations: 31.69 kB / 0.5991 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.2013, allocations: 8 kB / 0.5991 GB, free: 4.5 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 0.0001059/0.2014, allocations: 130.4 kB / 0.5993 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.179e-05/0.2015, allocations: 19.81 kB / 0.5993 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.2018, allocations: 158.9 kB / 0.5994 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.2018, allocations: 11.94 kB / 0.5994 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.361e-06/0.2018, allocations: 4 kB / 0.5994 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2018, allocations: 0 / 0.5994 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.2021, allocations: 213.5 kB / 0.5996 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.2021, allocations: 0 / 0.5996 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.889e-05/0.2022, allocations: 23.98 kB / 0.5997 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.2022, allocations: 3.984 kB / 0.5997 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2022, allocations: 4 kB / 0.5997 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2022, allocations: 7.938 kB / 0.5997 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2022, allocations: 3.984 kB / 0.5997 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.2025, allocations: 227.2 kB / 0.5999 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.2026, allocations: 104.9 kB / 0.6 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.953e-05/0.2026, allocations: 8 kB / 0.6 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.2028, allocations: 15.92 kB / 0.6 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.2029, allocations: 11.98 kB / 0.6 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.562e-05/0.2029, allocations: 15.98 kB / 0.6001 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.483e-05/0.203, allocations: 116.7 kB / 0.6002 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.203, allocations: 4 kB / 0.6002 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004149/0.2034, allocations: 79.94 kB / 0.6002 GB, free: 3.258 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.0008193/0.2042, allocations: 0.824 MB / 0.601 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000262/0.2045, allocations: 127.7 kB / 0.6012 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2045, allocations: 0 / 0.6012 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/0.2046, allocations: 47.86 kB / 0.6012 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.2051, allocations: 70.67 kB / 0.6013 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.241/0.4461, allocations: 2.057 MB / 0.6033 GB, free: 52.93 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.4463, allocations: 0.7177 MB / 0.604 GB, free: 52.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.4466, allocations: 43.62 kB / 0.604 GB, free: 52.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-05/0.4467, allocations: 47.03 kB / 0.6041 GB, free: 52.23 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.4467, allocations: 1.406 kB / 0.6041 GB, free: 52.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/0.6956, allocations: 5.09 MB / 0.6091 GB, free: 51.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.6958, allocations: 173.9 kB / 0.6092 GB, free: 51.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.402/3.098, allocations: 0 / 0.6092 GB, free: 51.6 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1)