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.001295/0.001295, allocations: 96.42 kB / 16.94 MB, free: 6.441 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.001644/0.001644, allocations: 183.2 kB / 17.83 MB, free: 6.008 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.423/1.423, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005054/0.0005058, allocations: 15.28 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4179/0.5193, allocations: 138 MB / 466.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003758/0.5231, allocations: 1.937 MB / 468.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004126/0.5236, allocations: 4 kB / 468.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007969/0.5244, allocations: 139.4 kB / 468.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.5255, allocations: 279.1 kB / 468.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009291/0.5264, allocations: 273.9 kB / 469.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006505/0.5271, allocations: 490.9 kB / 469.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.5273, allocations: 72.67 kB / 469.6 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.5283, allocations: 434.8 kB / 470 MB, free: 11.14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.5286, allocations: 175.3 kB / 470.2 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.5286, allocations: 16 kB / 470.2 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003049/0.5289, allocations: 103.9 kB / 470.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001152/0.5291, allocations: 79.72 kB / 470.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.827e-05/0.5292, allocations: 89.58 kB / 470.5 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004853/0.5297, allocations: 389.8 kB / 470.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5297, allocations: 8 kB / 470.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5297, allocations: 0 / 470.9 MB, free: 10.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.5297, allocations: 0 / 470.9 MB, free: 10.3 MB / 366.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.0008351/0.5306, allocations: 0.5191 MB / 471.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.5306, allocations: 12.03 kB / 471.4 MB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.549e-05/0.5307, allocations: 58.55 kB / 471.5 MB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.531, allocations: 47.61 kB / 471.5 MB, free: 9.605 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003825/0.5314, allocations: 270.5 kB / 471.8 MB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.5315, allocations: 16.56 kB / 471.8 MB, free: 9.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.5315, allocations: 24 kB / 471.8 MB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.532, allocations: 315.7 kB / 472.1 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.532, allocations: 0 / 472.1 MB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.807e-05/0.5321, allocations: 19.95 kB / 472.1 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.5321, allocations: 8 kB / 472.1 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000305/0.5324, allocations: 201.5 kB / 472.3 MB, free: 8.699 MB / 366.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.001742/0.5341, allocations: 1.585 MB / 473.9 MB, free: 6.965 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.5344, allocations: 162.8 kB / 474.1 MB, free: 6.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.682e-05/0.5345, allocations: 11.98 kB / 474.1 MB, free: 6.785 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.5345, allocations: 38.48 kB / 474.1 MB, free: 6.738 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.5345, allocations: 0 / 474.1 MB, free: 6.738 MB / 366.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.005607/0.5401, allocations: 1.624 MB / 475.8 MB, free: 4.984 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.5402, allocations: 55.41 kB / 475.8 MB, free: 4.918 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.5405, allocations: 256.8 kB / 476.1 MB, free: 4.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.5406, allocations: 29.7 kB / 476.1 MB, free: 4.625 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.5407, allocations: 172.3 kB / 476.3 MB, free: 4.449 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.147e-05/0.5408, allocations: 102.5 kB / 476.4 MB, free: 4.348 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.5408, allocations: 4 kB / 476.4 MB, free: 4.344 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.541, allocations: 342.8 kB / 476.7 MB, free: 4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.5411, allocations: 83.75 kB / 476.8 MB, free: 3.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.5413, allocations: 191.8 kB / 477 MB, free: 3.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002175/0.5416, allocations: 115.9 kB / 477.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5416, allocations: 0 / 477.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006313/0.5422, allocations: 399.4 kB / 477.5 MB, free: 3.172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.5422, allocations: 8 kB / 477.5 MB, free: 3.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.5423, allocations: 7.891 kB / 477.5 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002216/0.5425, allocations: 73.67 kB / 477.6 MB, free: 3.078 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/0.5428, allocations: 83.84 kB / 477.6 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.5443, allocations: 1.864 MB / 479.5 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.5445, allocations: 19.91 kB / 479.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.5446, allocations: 39.98 kB / 479.6 MB, free: 0.918 MB / 366.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.0001706/0.5448, allocations: 157.7 kB / 479.7 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.378e-05/0.5448, allocations: 27.72 kB / 479.7 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009301/0.5458, allocations: 442.1 kB / 480.2 MB, free: 284 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5458, allocations: 7.938 kB / 480.2 MB, free: 276 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.5458, allocations: 4 kB / 480.2 MB, free: 272 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005394/0.5463, allocations: 0.5591 MB / 480.7 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.5474, allocations: 0.7279 MB / 481.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5474, allocations: 4 kB / 481.5 MB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.5477, allocations: 68.02 kB / 481.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.691e-05/0.5478, allocations: 24.78 kB / 481.6 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.5479, allocations: 15.98 kB / 481.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000946/0.5488, allocations: 1.292 MB / 482.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.5488, allocations: 0 / 482.9 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006694/0.5495, allocations: 498 kB / 483.4 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.24e-05/0.5496, allocations: 108.8 kB / 483.5 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.5497, allocations: 8 kB / 483.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.5499, allocations: 15.98 kB / 483.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.55, allocations: 31.86 kB / 483.5 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.55, allocations: 27.98 kB / 483.6 MB, free: 12.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001822/0.5502, allocations: 190 kB / 483.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5502, allocations: 0 / 483.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005513/0.5508, allocations: 124 kB / 483.9 MB, free: 12.25 MB / 382.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.001222/0.552, allocations: 1.215 MB / 485.1 MB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.5527, allocations: 374.5 kB / 485.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5527, allocations: 0 / 485.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002762/0.553, allocations: 231.4 kB / 485.7 MB, free: 10.37 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008525/0.5538, allocations: 153.8 kB / 485.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003536/0.5574, allocations: 3.824 MB / 489.6 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.5577, allocations: 0.7721 MB / 490.4 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000564/0.5583, allocations: 126.8 kB / 490.5 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.5586, allocations: 123.4 kB / 490.7 MB, free: 5.246 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5586, allocations: 4 kB / 490.7 MB, free: 5.242 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/0.586, allocations: 11.1 MB / 0.49 GB, free: 10.13 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.5863, allocations: 220.9 kB / 0.4902 GB, free: 9.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.684, allocations: 0 / 0.4902 GB, free: 9.898 MB / 398.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