Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001305/0.001305, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001241/0.001241, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2299/0.2299, allocations: 46.12 MB / 344.3 MB, free: 11.43 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 79.88 kB / 480.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3465, allocations: 62.44 MB / 0.5306 GB, free: 13.35 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2112/0.5578, allocations: 178.2 MB / 0.7046 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008766/0.5666, allocations: 5.345 MB / 0.7098 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009123/0.5675, allocations: 23.81 kB / 0.7098 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.5687, allocations: 318 kB / 0.7101 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003997/0.5727, allocations: 1.336 MB / 0.7115 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00326/0.576, allocations: 1.073 MB / 0.7125 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002668/0.5787, allocations: 1.844 MB / 0.7143 GB, free: 4.914 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007398/0.5794, allocations: 465.3 kB / 0.7147 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.5819, allocations: 1.086 MB / 0.7158 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.5834, allocations: 0.7549 MB / 0.7165 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.5836, allocations: 60 kB / 0.7166 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001508/0.5851, allocations: 0.6314 MB / 0.7172 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003103/0.5854, allocations: 263.3 kB / 0.7175 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004924/0.5859, allocations: 394.2 kB / 0.7178 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.3137/0.8996, allocations: 1.311 MB / 0.7191 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.8997, allocations: 2.156 kB / 0.7191 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8997, allocations: 0 / 0.7191 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.764e-05/0.8997, allocations: 0.5312 kB / 0.7191 GB, free: 7.184 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002431/0.9022, allocations: 1.117 MB / 0.7202 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.9022, allocations: 11.75 kB / 0.7202 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.9023, allocations: 100.1 kB / 0.7203 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008522/0.9032, allocations: 141.5 kB / 0.7205 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008523/0.9041, allocations: 0.5302 MB / 0.721 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.9042, allocations: 105 kB / 0.7211 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.9043, allocations: 46.91 kB / 0.7211 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.9056, allocations: 0.8178 MB / 0.7219 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.9056, allocations: 5.125 kB / 0.7219 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.551e-05/0.9057, allocations: 24.08 kB / 0.7219 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-05/0.9058, allocations: 36.41 kB / 0.722 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.9068, allocations: 0.6261 MB / 0.7226 GB, free: 5.941 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004173/0.9109, allocations: 3.946 MB / 0.7264 GB, free: 19.37 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.9115, allocations: 354 kB / 0.7268 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002739/0.9118, allocations: 177.4 kB / 0.727 GB, free: 19.33 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.9119, allocations: 88.17 kB / 0.727 GB, free: 19.24 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.912, allocations: 41.73 kB / 0.7271 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.912, allocations: 1.062 kB / 0.7271 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.005813/0.9178, allocations: 1.689 MB / 0.7287 GB, free: 18.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.009e-05/0.9179, allocations: 136.8 kB / 0.7289 GB, free: 18.52 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/0.9187, allocations: 0.6111 MB / 0.7295 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.831e-05/0.9187, allocations: 33.33 kB / 0.7295 GB, free: 18.35 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.919, allocations: 381.9 kB / 0.7299 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.9191, allocations: 152.7 kB / 0.73 GB, free: 18.05 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002547/0.9194, allocations: 160.9 kB / 0.7302 GB, free: 18.03 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.9196, allocations: 377.4 kB / 0.7305 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003534/0.9199, allocations: 200 kB / 0.7307 GB, free: 17.72 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005106/0.9204, allocations: 0.5139 MB / 0.7312 GB, free: 17.33 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009254/0.9214, allocations: 0.7469 MB / 0.7319 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.9214, allocations: 5.938 kB / 0.7319 GB, free: 16.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001379/0.9228, allocations: 0.8844 MB / 0.7328 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.9228, allocations: 10.28 kB / 0.7328 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.9228, allocations: 12.03 kB / 0.7328 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.9242, allocations: 309.4 kB / 0.7331 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003727/0.9246, allocations: 124.9 kB / 0.7332 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.9256, allocations: 0.9335 MB / 0.7342 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/0.9262, allocations: 27.25 kB / 0.7342 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/0.9263, allocations: 68.34 kB / 0.7342 GB, free: 16.35 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003787/0.9267, allocations: 251.8 kB / 0.7345 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.9268, allocations: 67.61 kB / 0.7345 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.9283, allocations: 0.8762 MB / 0.7354 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.9283, allocations: 9.031 kB / 0.7354 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9283, allocations: 0.9375 kB / 0.7354 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.9283, allocations: 0.9375 kB / 0.7354 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.9302, allocations: 1.459 MB / 0.7368 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.9302, allocations: 2.844 kB / 0.7368 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009902/0.9312, allocations: 209 kB / 0.737 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-05/0.9313, allocations: 26.23 kB / 0.7371 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.9314, allocations: 19.47 kB / 0.7371 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.9337, allocations: 2.878 MB / 0.7399 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9337, allocations: 6 kB / 0.7399 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00115/0.9348, allocations: 0.8204 MB / 0.7407 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003004/0.9351, allocations: 196.8 kB / 0.7409 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.417e-05/0.9352, allocations: 12.06 kB / 0.7409 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003673/0.9356, allocations: 18.06 kB / 0.7409 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.868e-05/0.9357, allocations: 41.83 kB / 0.741 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.997e-05/0.9358, allocations: 45.11 kB / 0.741 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004392/0.9362, allocations: 440.2 kB / 0.7414 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9362, allocations: 0.9688 kB / 0.7414 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008563/0.9371, allocations: 258.6 kB / 0.7417 GB, free: 12.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002072/0.9392, allocations: 1.558 MB / 0.7432 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001052/0.9402, allocations: 0.5552 MB / 0.7437 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.9403, allocations: 4.625 kB / 0.7437 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008858/0.9412, allocations: 415 kB / 0.7441 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.9428, allocations: 370.8 kB / 0.7445 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007413/0.9502, allocations: 6.351 MB / 0.7507 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.9508, allocations: 0.931 MB / 0.7516 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001076/0.9519, allocations: 464.7 kB / 0.752 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004376/0.9524, allocations: 294.7 kB / 0.7523 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.9524, allocations: 0 / 0.7523 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05713/1.01, allocations: 24.46 MB / 0.7762 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/14.05, allocations: 10.45 kB / 0.7762 GB, free: 2.539 MB / 0.5762 GB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_IdealSteam.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1)