Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 172.8 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.475/1.475, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007638/0.0007639, allocations: 86.66 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.021e-05/3.023e-05, allocations: 4 kB / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 47.58 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/1.114, allocations: 438.8 MB / 0.7899 GB, free: 79.76 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.114, allocations: 95.94 kB / 0.79 GB, free: 79.67 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4782/1.592, allocations: 153.7 MB / 0.9401 GB, free: 95.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.583e-06/1.592, allocations: 0 / 0.9401 GB, free: 95.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.797e-05/1.592, allocations: 8 kB / 0.9401 GB, free: 95.59 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007924/1.593, allocations: 0.6047 MB / 0.9407 GB, free: 94.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.593, allocations: 8.031 kB / 0.9407 GB, free: 94.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/1.593, allocations: 58.53 kB / 0.9408 GB, free: 94.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002386/1.593, allocations: 43.62 kB / 0.9408 GB, free: 94.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/1.594, allocations: 270.6 kB / 0.9411 GB, free: 94.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/1.594, allocations: 20.56 kB / 0.9411 GB, free: 94.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/1.594, allocations: 24 kB / 0.9411 GB, free: 94.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004104/1.594, allocations: 315.7 kB / 0.9414 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/1.594, allocations: 0 / 0.9414 GB, free: 94.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/1.594, allocations: 12 kB / 0.9414 GB, free: 94.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/1.594, allocations: 11.94 kB / 0.9414 GB, free: 94.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002647/1.595, allocations: 189.6 kB / 0.9416 GB, free: 93.94 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.001319/1.596, allocations: 1.581 MB / 0.9432 GB, free: 92.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002238/1.596, allocations: 163.1 kB / 0.9433 GB, free: 92.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/1.596, allocations: 93.22 kB / 0.9434 GB, free: 91.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.174e-05/1.596, allocations: 8.188 kB / 0.9434 GB, free: 91.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/1.596, allocations: 38.75 kB / 0.9435 GB, free: 91.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.193e-06/1.596, allocations: 3.938 kB / 0.9435 GB, free: 91.88 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004279/1.601, allocations: 1.248 MB / 0.9447 GB, free: 90.56 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/1.601, allocations: 55.39 kB / 0.9447 GB, free: 90.49 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/1.601, allocations: 225 kB / 0.9449 GB, free: 90.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/1.601, allocations: 33.7 kB / 0.945 GB, free: 90.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.108e-05/1.601, allocations: 172 kB / 0.9451 GB, free: 90.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.659e-05/1.601, allocations: 98.58 kB / 0.9452 GB, free: 89.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.772e-05/1.601, allocations: 11.94 kB / 0.9452 GB, free: 89.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.508e-05/1.601, allocations: 334.8 kB / 0.9456 GB, free: 89.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/1.601, allocations: 83.98 kB / 0.9456 GB, free: 89.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/1.601, allocations: 187.8 kB / 0.9458 GB, free: 89.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/1.602, allocations: 116.4 kB / 0.9459 GB, free: 89.19 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/1.602, allocations: 0 / 0.9459 GB, free: 89.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005006/1.602, allocations: 398.7 kB / 0.9463 GB, free: 88.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/1.602, allocations: 8 kB / 0.9463 GB, free: 88.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/1.602, allocations: 0 / 0.9463 GB, free: 88.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/1.602, allocations: 74.08 kB / 0.9464 GB, free: 88.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000293/1.603, allocations: 87.91 kB / 0.9465 GB, free: 88.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008852/1.604, allocations: 1.86 MB / 0.9483 GB, free: 86.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002051/1.604, allocations: 19.98 kB / 0.9483 GB, free: 86.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/1.604, allocations: 36 kB / 0.9483 GB, free: 86.54 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 9.039e-05/1.604, allocations: 125.2 kB / 0.9485 GB, free: 86.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.3e-05/1.604, allocations: 27.72 kB / 0.9485 GB, free: 86.38 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008003/1.605, allocations: 451.5 kB / 0.9489 GB, free: 85.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/1.605, allocations: 0 / 0.9489 GB, free: 85.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/1.605, allocations: 8 kB / 0.9489 GB, free: 85.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003526/1.605, allocations: 0.5474 MB / 0.9495 GB, free: 85.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007149/1.606, allocations: 0.7206 MB / 0.9502 GB, free: 84.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/1.606, allocations: 64 / 0.9502 GB, free: 84.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/1.606, allocations: 75.89 kB / 0.9502 GB, free: 84.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.808e-05/1.606, allocations: 20.84 kB / 0.9503 GB, free: 84.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/1.606, allocations: 15.94 kB / 0.9503 GB, free: 84.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004971/1.607, allocations: 1.288 MB / 0.9515 GB, free: 82.96 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/1.607, allocations: 0 / 0.9515 GB, free: 82.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/1.607, allocations: 0.4937 MB / 0.952 GB, free: 82.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/1.607, allocations: 100.8 kB / 0.9521 GB, free: 82.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/1.607, allocations: 4 kB / 0.9521 GB, free: 82.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/1.608, allocations: 12 kB / 0.9521 GB, free: 82.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/1.608, allocations: 28.03 kB / 0.9522 GB, free: 82.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/1.608, allocations: 31.98 kB / 0.9522 GB, free: 82.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001293/1.608, allocations: 187.1 kB / 0.9524 GB, free: 82.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.608, allocations: 0 / 0.9524 GB, free: 82.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006307/1.608, allocations: 187.9 kB / 0.9525 GB, free: 81.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001494/1.61, allocations: 1.828 MB / 0.9543 GB, free: 80 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005035/1.61, allocations: 366.4 kB / 0.9547 GB, free: 79.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.61, allocations: 0 / 0.9547 GB, free: 79.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001992/1.611, allocations: 230.4 kB / 0.9549 GB, free: 79.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007781/1.611, allocations: 172.9 kB / 0.9551 GB, free: 79.22 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009172/1.612, allocations: 0.5746 MB / 0.9556 GB, free: 78.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/1.613, allocations: 0.7726 MB / 0.9564 GB, free: 77.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000494/1.613, allocations: 110.9 kB / 0.9565 GB, free: 77.69 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/1.613, allocations: 131.3 kB / 0.9566 GB, free: 77.56 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/1.613, allocations: 0 / 0.9566 GB, free: 77.56 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03513/1.648, allocations: 25.14 MB / 0.9812 GB, free: 52.39 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/1.649, allocations: 203.2 kB / 0.9814 GB, free: 52.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.522/4.17, allocations: 0 / 0.9814 GB, free: 52.16 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat