Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.00186/0.00186, 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.001786/0.001786, allocations: 191.7 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.041/2.041, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.095/1.095, allocations: 135.1 MB / 425.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 64.78 kB / 0.505 GB, free: 5.566 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.19, allocations: 80.93 MB / 0.584 GB, free: 4.805 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006615/0.1967, allocations: 4.085 MB / 0.588 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.1996, allocations: 2.426 MB / 0.5904 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1998, allocations: 0 / 0.5904 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.2001, allocations: 43.73 kB / 0.5904 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003277/0.2004, allocations: 87.48 kB / 0.5905 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.2019, allocations: 493.9 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.2023, allocations: 259.9 kB / 0.5912 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.392e-05/0.2023, allocations: 13.56 kB / 0.5912 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.2026, allocations: 115.5 kB / 0.5913 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000174/0.2028, allocations: 103.6 kB / 0.5914 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/0.2028, allocations: 8 kB / 0.5914 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000843/0.2037, allocations: 459.2 kB / 0.5919 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.919e-05/0.2038, allocations: 43.88 kB / 0.5919 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.2039, allocations: 83.59 kB / 0.592 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000749/0.2047, allocations: 415.2 kB / 0.5924 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2047, allocations: 4 kB / 0.5924 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2047, allocations: 0 / 0.5924 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.2047, allocations: 0 / 0.5924 GB, free: 12.17 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.0008437/0.2055, allocations: 0.5031 MB / 0.5929 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2056, allocations: 11.97 kB / 0.5929 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.014e-05/0.2057, allocations: 54.73 kB / 0.5929 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.2078, allocations: 180.5 kB / 0.5931 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.208, allocations: 220.1 kB / 0.5933 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.2081, allocations: 12.7 kB / 0.5933 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.2081, allocations: 16.38 kB / 0.5933 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006684/0.2088, allocations: 300.2 kB / 0.5936 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.2088, allocations: 8 kB / 0.5936 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/0.2089, allocations: 4 kB / 0.5936 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.2089, allocations: 8 kB / 0.5937 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007363/0.2096, allocations: 263.5 kB / 0.5939 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.2113, allocations: 1.392 MB / 0.5953 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.212, allocations: 200.3 kB / 0.5955 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.2122, allocations: 76.81 kB / 0.5955 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.2123, allocations: 0 / 0.5955 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.2123, allocations: 46.5 kB / 0.5956 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.082e-06/0.2123, allocations: 0 / 0.5956 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0007641/0.2131, allocations: 245.3 kB / 0.5958 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.2131, allocations: 51.41 kB / 0.5959 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2133, allocations: 158.2 kB / 0.596 GB, free: 8.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.2133, allocations: 33.7 kB / 0.596 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.239e-05/0.2134, allocations: 128 kB / 0.5962 GB, free: 8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.897e-05/0.2135, allocations: 67.08 kB / 0.5962 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.2136, allocations: 49.92 kB / 0.5963 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2137, allocations: 326.8 kB / 0.5966 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.2139, allocations: 64.42 kB / 0.5966 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/0.2141, allocations: 143.9 kB / 0.5968 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.2147, allocations: 215 kB / 0.597 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2147, allocations: 0 / 0.597 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001057/0.2158, allocations: 255.5 kB / 0.5972 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2158, allocations: 7.938 kB / 0.5972 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.2158, allocations: 4 kB / 0.5972 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2158, allocations: 4 kB / 0.5972 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.2162, allocations: 63.89 kB / 0.5973 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.2162, allocations: 4 kB / 0.5973 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.2165, allocations: 31.73 kB / 0.5973 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.2165, allocations: 24.08 kB / 0.5974 GB, free: 6.68 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * Array equations: 0 * 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.000128/0.2166, allocations: 130.4 kB / 0.5975 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.2167, allocations: 15.81 kB / 0.5975 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006179/0.2173, allocations: 228.9 kB / 0.5977 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.2173, allocations: 0 / 0.5977 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.2173, allocations: 4 kB / 0.5977 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2173, allocations: 0 / 0.5977 GB, free: 6.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.2176, allocations: 245.6 kB / 0.598 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2176, allocations: 4 kB / 0.598 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/0.2179, allocations: 47.91 kB / 0.598 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.218, allocations: 0 / 0.598 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.218, allocations: 11.98 kB / 0.598 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.218, allocations: 0 / 0.598 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.218, allocations: 0 / 0.598 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005379/0.2185, allocations: 299.3 kB / 0.5983 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.2187, allocations: 100.9 kB / 0.5984 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.2187, allocations: 4 kB / 0.5984 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002784/0.219, allocations: 19.97 kB / 0.5984 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.219, allocations: 11.98 kB / 0.5984 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.219, allocations: 8 kB / 0.5984 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.686e-05/0.2191, allocations: 122.1 kB / 0.5986 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2192, allocations: 3.938 kB / 0.5986 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003527/0.2195, allocations: 68.06 kB / 0.5986 GB, free: 5.289 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 (20): * Single equations (assignments): 20 * Array equations: 0 * 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.000919/0.2204, allocations: 0.8744 MB / 0.5995 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005312/0.221, allocations: 187.7 kB / 0.5997 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.221, allocations: 4 kB / 0.5997 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.2212, allocations: 87.88 kB / 0.5998 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000521/0.2217, allocations: 64.3 kB / 0.5998 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.2248, allocations: 2.194 MB / 0.602 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.2251, allocations: 0.7134 MB / 0.6027 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003609/0.2255, allocations: 53.92 kB / 0.6027 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/0.2256, allocations: 47.41 kB / 0.6027 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2256, allocations: 4 kB / 0.6028 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.702/1.928, allocations: 5.029 MB / 0.6077 GB, free: 52.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002594/1.928, allocations: 232.8 kB / 0.6079 GB, free: 51.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.692/7.62, allocations: 2.188 kB / 0.6079 GB, free: 51.75 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)