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/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 3.2.3+maint.om/package.mo", uses=false) 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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 98.8 kB / 16.95 MB, free: 6.453 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.00147/0.001471, allocations: 184 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004597/0.0004598, allocations: 8 kB / 280.9 MB, free: 3.625 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1068, allocations: 47.58 MB / 328.5 MB, free: 3.977 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4059/0.5127, allocations: 157.7 MB / 486.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003598/0.5163, allocations: 2.992 MB / 489.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.5167, allocations: 0 / 489.2 MB, free: 9.367 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005488/0.5173, allocations: 131.2 kB / 489.3 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008099/0.5181, allocations: 362.1 kB / 489.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.5189, allocations: 278.5 kB / 490 MB, free: 8.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.52, allocations: 1.113 MB / 491.1 MB, free: 7.496 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.5202, allocations: 72.67 kB / 491.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.5217, allocations: 0.6743 MB / 491.8 MB, free: 6.754 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003388/0.522, allocations: 271 kB / 492.1 MB, free: 6.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.5221, allocations: 16 kB / 492.1 MB, free: 6.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002636/0.5223, allocations: 103.9 kB / 492.2 MB, free: 6.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.5225, allocations: 75.72 kB / 492.3 MB, free: 6.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.288e-05/0.5226, allocations: 93.58 kB / 492.4 MB, free: 6.199 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004387/0.523, allocations: 408.7 kB / 492.8 MB, free: 5.801 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.523, allocations: 4 kB / 492.8 MB, free: 5.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.523, allocations: 0 / 492.8 MB, free: 5.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.523, allocations: 0 / 492.8 MB, free: 5.797 MB / 382.1 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.0007413/0.5238, allocations: 0.5114 MB / 493.3 MB, free: 5.238 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/0.5239, allocations: 12.03 kB / 493.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.147e-05/0.524, allocations: 58.55 kB / 493.3 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.5242, allocations: 43.61 kB / 493.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.5246, allocations: 282.5 kB / 493.7 MB, free: 4.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.086e-05/0.5246, allocations: 16.56 kB / 493.7 MB, free: 4.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.5247, allocations: 24 kB / 493.7 MB, free: 4.762 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005049/0.5252, allocations: 311.7 kB / 494 MB, free: 4.426 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.5252, allocations: 4 kB / 494 MB, free: 4.422 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.407e-05/0.5253, allocations: 19.95 kB / 494 MB, free: 4.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.5253, allocations: 4 kB / 494 MB, free: 4.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003292/0.5256, allocations: 205.5 kB / 494.2 MB, free: 4.199 MB / 382.1 MB 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.001808/0.5274, allocations: 1.596 MB / 495.8 MB, free: 2.453 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.5277, allocations: 162.8 kB / 496 MB, free: 2.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.5279, allocations: 96.77 kB / 496.1 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.5279, allocations: 4 kB / 496.1 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.528, allocations: 42.56 kB / 496.1 MB, free: 2.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.343e-06/0.528, allocations: 0 / 496.1 MB, free: 2.133 MB / 382.1 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.005061/0.5331, allocations: 1.623 MB / 497.8 MB, free: 388 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.5331, allocations: 59.39 kB / 497.8 MB, free: 316 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.5334, allocations: 252.9 kB / 498.1 MB, free: 56 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.5335, allocations: 29.7 kB / 498.1 MB, free: 20 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.5336, allocations: 180.2 kB / 498.3 MB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.413e-05/0.5337, allocations: 98.55 kB / 498.4 MB, free: 15.74 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.949e-05/0.5338, allocations: 8 kB / 498.4 MB, free: 15.73 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.5339, allocations: 338.8 kB / 498.7 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.5341, allocations: 87.75 kB / 498.8 MB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002499/0.5344, allocations: 191.7 kB / 499 MB, free: 15.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.5346, allocations: 116 kB / 499.1 MB, free: 14.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5346, allocations: 0 / 499.1 MB, free: 14.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000641/0.5352, allocations: 395.2 kB / 499.5 MB, free: 14.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.5353, allocations: 11.95 kB / 499.5 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.5353, allocations: 4 kB / 499.5 MB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002257/0.5355, allocations: 69.67 kB / 499.6 MB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.5359, allocations: 84.25 kB / 499.6 MB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.5373, allocations: 1.856 MB / 0.4897 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.5375, allocations: 23.89 kB / 0.4898 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.94e-05/0.5375, allocations: 39.98 kB / 0.4898 GB, free: 12.31 MB / 398.1 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 () * Number of clocked 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 0.0001769/0.5377, allocations: 161.7 kB / 0.49 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.5378, allocations: 31.81 kB / 0.49 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009539/0.5387, allocations: 442.6 kB / 0.4904 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.5388, allocations: 3.984 kB / 0.4904 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.5388, allocations: 0 / 0.4904 GB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005574/0.5393, allocations: 0.5669 MB / 0.491 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009425/0.5403, allocations: 0.7309 MB / 0.4917 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.5403, allocations: 0 / 0.4917 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.5406, allocations: 76.02 kB / 0.4917 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.731e-05/0.5407, allocations: 24.78 kB / 0.4918 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.5407, allocations: 12 kB / 0.4918 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007887/0.5415, allocations: 1.272 MB / 0.493 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.145e-06/0.5415, allocations: 7.875 kB / 0.493 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005914/0.5421, allocations: 482.7 kB / 0.4935 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.838e-05/0.5422, allocations: 104.8 kB / 0.4936 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.962e-05/0.5423, allocations: 7.984 kB / 0.4936 GB, free: 8.055 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.5425, allocations: 16 kB / 0.4936 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.691e-05/0.5426, allocations: 35.84 kB / 0.4936 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.5426, allocations: 27.98 kB / 0.4937 GB, free: 7.977 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.5428, allocations: 194 kB / 0.4939 GB, free: 7.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5428, allocations: 0 / 0.4939 GB, free: 7.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004851/0.5433, allocations: 120 kB / 0.494 GB, free: 7.672 MB / 398.1 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 () * Number of clocked 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.001145/0.5444, allocations: 1.058 MB / 0.495 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.5451, allocations: 371 kB / 0.4954 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5451, allocations: 0 / 0.4954 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.5454, allocations: 238.5 kB / 0.4956 GB, free: 5.957 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008849/0.5463, allocations: 156.8 kB / 0.4957 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00288/0.5492, allocations: 1.876 MB / 0.4976 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.5497, allocations: 0.7606 MB / 0.4983 GB, free: 3.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006575/0.5503, allocations: 122.8 kB / 0.4984 GB, free: 2.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003272/0.5507, allocations: 123.4 kB / 0.4985 GB, free: 2.809 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5507, allocations: 0 / 0.4985 GB, free: 2.809 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.5779, allocations: 11.13 MB / 0.5094 GB, free: 7.664 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000324/0.5783, allocations: 230.4 kB / 0.5096 GB, free: 7.426 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.001, allocations: 3.938 kB / 0.5096 GB, free: 7.422 MB / 414.1 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) Environment - environmentSimulation: 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