Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_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.000878/0.0008782, allocations: 90.59 kB / 15.06 MB, free: 1.094 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.001066/0.001067, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8425/0.8425, allocations: 132.3 MB / 423.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003098, allocations: 9.438 kB / 0.5035 GB, free: 4.109 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4812/0.4816, allocations: 81.57 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004453/0.4861, allocations: 3.588 MB / 0.5867 GB, free: 1.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002619/0.4887, allocations: 2.253 MB / 0.5889 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.4888, allocations: 1.781 kB / 0.5889 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.4891, allocations: 41.52 kB / 0.5889 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003534/0.4895, allocations: 86.17 kB / 0.589 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.4914, allocations: 433.5 kB / 0.5894 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006159/0.492, allocations: 294.2 kB / 0.5897 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.082e-05/0.492, allocations: 17.61 kB / 0.5897 GB, free: 15.38 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.4923, allocations: 109.5 kB / 0.5898 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001938/0.4925, allocations: 92.83 kB / 0.5899 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.814e-05/0.4926, allocations: 15.7 kB / 0.5899 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009862/0.4936, allocations: 350.4 kB / 0.5902 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.4937, allocations: 37.75 kB / 0.5903 GB, free: 15.16 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.042e-05/0.4937, allocations: 54.3 kB / 0.5903 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004658/0.4942, allocations: 253.6 kB / 0.5906 GB, free: 15.06 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4942, allocations: 0 / 0.5906 GB, free: 15.06 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4942, allocations: 1.406 kB / 0.5906 GB, free: 15.06 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.4942, allocations: 0 / 0.5906 GB, free: 15.06 MB / 446.1 MB 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.0007979/0.495, allocations: 489.5 kB / 0.591 GB, free: 14.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4951, allocations: 9.406 kB / 0.591 GB, free: 14.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.486e-05/0.4952, allocations: 56.38 kB / 0.5911 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001865/0.497, allocations: 184.2 kB / 0.5913 GB, free: 14.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.4973, allocations: 206.2 kB / 0.5915 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.4974, allocations: 19.33 kB / 0.5915 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.4974, allocations: 13.47 kB / 0.5915 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006774/0.4981, allocations: 303 kB / 0.5918 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.4981, allocations: 0.5625 kB / 0.5918 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.748e-05/0.4982, allocations: 12.34 kB / 0.5918 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.328e-05/0.4982, allocations: 8.828 kB / 0.5918 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007208/0.4989, allocations: 261.5 kB / 0.592 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.5006, allocations: 1.386 MB / 0.5934 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.5013, allocations: 189 kB / 0.5936 GB, free: 12.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.5015, allocations: 89.25 kB / 0.5937 GB, free: 12.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.5016, allocations: 10.06 kB / 0.5937 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.5016, allocations: 32.88 kB / 0.5937 GB, free: 12.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.5016, allocations: 0 / 0.5937 GB, free: 12.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007768/0.5024, allocations: 244.3 kB / 0.5939 GB, free: 12.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.5024, allocations: 53.94 kB / 0.594 GB, free: 12.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.5026, allocations: 159.3 kB / 0.5941 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.5027, allocations: 31.42 kB / 0.5942 GB, free: 12.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.191e-05/0.5027, allocations: 124 kB / 0.5943 GB, free: 12.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.5028, allocations: 55.83 kB / 0.5943 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.5028, allocations: 5.438 kB / 0.5944 GB, free: 12.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.503, allocations: 330.6 kB / 0.5947 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002199/0.5032, allocations: 68.02 kB / 0.5947 GB, free: 11.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.5035, allocations: 143.2 kB / 0.5949 GB, free: 11.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002293/0.5037, allocations: 71.98 kB / 0.5949 GB, free: 11.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5037, allocations: 5 kB / 0.5949 GB, free: 11.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006011/0.5043, allocations: 247.7 kB / 0.5952 GB, free: 11.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.5044, allocations: 6.375 kB / 0.5952 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5044, allocations: 6.219 kB / 0.5952 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.5044, allocations: 4.406 kB / 0.5952 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.5048, allocations: 66.12 kB / 0.5953 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.5048, allocations: 5.625 kB / 0.5953 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.505, allocations: 36.36 kB / 0.5953 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.441e-05/0.5051, allocations: 13.98 kB / 0.5953 GB, free: 11.51 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.5052, allocations: 131.1 kB / 0.5954 GB, free: 11.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.5052, allocations: 19.3 kB / 0.5955 GB, free: 11.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006325/0.5059, allocations: 221.6 kB / 0.5957 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.5059, allocations: 6.328 kB / 0.5957 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5059, allocations: 0.6875 kB / 0.5957 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.5059, allocations: 5.156 kB / 0.5957 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003179/0.5063, allocations: 244.4 kB / 0.5959 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5063, allocations: 0 / 0.5959 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.5066, allocations: 55.47 kB / 0.596 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.5066, allocations: 5.719 kB / 0.596 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.5066, allocations: 7.578 kB / 0.596 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5066, allocations: 0 / 0.596 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5066, allocations: 2.031 kB / 0.596 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.5072, allocations: 290.7 kB / 0.5963 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.5073, allocations: 110.7 kB / 0.5964 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.485e-05/0.5074, allocations: 5.5 kB / 0.5964 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.5076, allocations: 20.58 kB / 0.5964 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.5077, allocations: 14.17 kB / 0.5964 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.5077, allocations: 15.58 kB / 0.5964 GB, free: 10.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 9.725e-05/0.5078, allocations: 118.1 kB / 0.5965 GB, free: 10.61 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5078, allocations: 4 kB / 0.5965 GB, free: 10.61 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000409/0.5082, allocations: 65.33 kB / 0.5966 GB, free: 10.6 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009467/0.5092, allocations: 0.8578 MB / 0.5974 GB, free: 9.875 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000539/0.5097, allocations: 187.8 kB / 0.5976 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5097, allocations: 1.375 kB / 0.5976 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.51, allocations: 83.59 kB / 0.5977 GB, free: 9.801 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005413/0.5105, allocations: 59.08 kB / 0.5977 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.5127, allocations: 1.113 MB / 0.5988 GB, free: 9.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.513, allocations: 0.7154 MB / 0.5995 GB, free: 8.406 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003722/0.5134, allocations: 51.12 kB / 0.5996 GB, free: 8.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.5136, allocations: 47.27 kB / 0.5996 GB, free: 8.355 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5136, allocations: 0 / 0.5996 GB, free: 8.355 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0167/0.5303, allocations: 4.703 MB / 0.6042 GB, free: 6.273 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.5305, allocations: 205 kB / 0.6044 GB, free: 6.039 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.445, allocations: 0 / 0.6044 GB, free: 6.039 MB / 446.1 MB (rm -f IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) Environment - environmentSimulation: