Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",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.0009839/0.0009838, allocations: 172.7 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.362/1.362, 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.0007854/0.0007853, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.92e-05, allocations: 0 / 322.6 MB, free: 17.24 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07935/0.0794, allocations: 47.58 MB / 370.1 MB, free: 1.598 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.015/1.094, allocations: 437.9 MB / 0.7891 GB, free: 67.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/1.095, allocations: 96.67 kB / 0.7892 GB, free: 67.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4719/1.567, allocations: 141.8 MB / 0.9277 GB, free: 98.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.483e-06/1.567, allocations: 4.375 kB / 0.9277 GB, free: 98.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.044e-05/1.567, allocations: 8 kB / 0.9277 GB, free: 98.19 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.001017/1.568, allocations: 0.5888 MB / 0.9282 GB, free: 97.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.186e-05/1.568, allocations: 11.97 kB / 0.9283 GB, free: 97.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.199e-05/1.568, allocations: 62.53 kB / 0.9283 GB, free: 97.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002889/1.568, allocations: 43.61 kB / 0.9284 GB, free: 97.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003414/1.568, allocations: 270.6 kB / 0.9286 GB, free: 97.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/1.568, allocations: 24.48 kB / 0.9286 GB, free: 97.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/1.569, allocations: 24 kB / 0.9287 GB, free: 97.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/1.569, allocations: 319.7 kB / 0.929 GB, free: 96.73 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/1.569, allocations: 0 / 0.929 GB, free: 96.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/1.569, allocations: 12 kB / 0.929 GB, free: 96.72 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/1.569, allocations: 8 kB / 0.929 GB, free: 96.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/1.569, allocations: 201.6 kB / 0.9292 GB, free: 96.52 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.001459/1.571, allocations: 1.574 MB / 0.9307 GB, free: 94.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/1.571, allocations: 171 kB / 0.9309 GB, free: 94.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/1.571, allocations: 97.22 kB / 0.931 GB, free: 94.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/1.571, allocations: 12.17 kB / 0.931 GB, free: 94.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/1.571, allocations: 34.75 kB / 0.931 GB, free: 94.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/1.571, allocations: 0 / 0.931 GB, free: 94.46 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.004633/1.576, allocations: 1.232 MB / 0.9322 GB, free: 93.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/1.576, allocations: 59.39 kB / 0.9323 GB, free: 93.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/1.576, allocations: 225 kB / 0.9325 GB, free: 92.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/1.576, allocations: 33.7 kB / 0.9325 GB, free: 92.82 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/1.576, allocations: 183.9 kB / 0.9327 GB, free: 92.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/1.576, allocations: 98.64 kB / 0.9328 GB, free: 92.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/1.576, allocations: 4 kB / 0.9328 GB, free: 92.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/1.577, allocations: 338.8 kB / 0.9331 GB, free: 92.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/1.577, allocations: 80 kB / 0.9332 GB, free: 92.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/1.577, allocations: 183.7 kB / 0.9334 GB, free: 91.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/1.577, allocations: 124.9 kB / 0.9335 GB, free: 91.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/1.577, allocations: 7.953 kB / 0.9335 GB, free: 91.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005627/1.578, allocations: 382.7 kB / 0.9339 GB, free: 91.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.578, allocations: 8 kB / 0.9339 GB, free: 91.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.578, allocations: 4 kB / 0.9339 GB, free: 91.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/1.578, allocations: 78.08 kB / 0.934 GB, free: 91.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/1.578, allocations: 87.89 kB / 0.934 GB, free: 91.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/1.579, allocations: 1.856 MB / 0.9358 GB, free: 89.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002371/1.58, allocations: 19.98 kB / 0.9359 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/1.58, allocations: 36 kB / 0.9359 GB, free: 89.13 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.286e-05/1.58, allocations: 132.9 kB / 0.936 GB, free: 88.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/1.58, allocations: 27.72 kB / 0.9361 GB, free: 88.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008239/1.581, allocations: 447.8 kB / 0.9365 GB, free: 88.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.581, allocations: 4 kB / 0.9365 GB, free: 88.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/1.581, allocations: 0 / 0.9365 GB, free: 88.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004103/1.581, allocations: 0.5552 MB / 0.937 GB, free: 87.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007669/1.582, allocations: 0.721 MB / 0.9377 GB, free: 87.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.582, allocations: 0 / 0.9377 GB, free: 87.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002704/1.582, allocations: 71.89 kB / 0.9378 GB, free: 87.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.708e-05/1.582, allocations: 20.84 kB / 0.9378 GB, free: 86.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.292e-05/1.582, allocations: 15.98 kB / 0.9378 GB, free: 86.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005243/1.583, allocations: 1.28 MB / 0.9391 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.583, allocations: 4 kB / 0.9391 GB, free: 85.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004906/1.583, allocations: 497.2 kB / 0.9396 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/1.583, allocations: 104.8 kB / 0.9397 GB, free: 84.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/1.583, allocations: 8 kB / 0.9397 GB, free: 84.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/1.584, allocations: 20.05 kB / 0.9397 GB, free: 84.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/1.584, allocations: 19.97 kB / 0.9397 GB, free: 84.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/1.584, allocations: 31.98 kB / 0.9397 GB, free: 84.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001559/1.584, allocations: 183.1 kB / 0.9399 GB, free: 84.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.584, allocations: 0 / 0.9399 GB, free: 84.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006474/1.585, allocations: 191.9 kB / 0.9401 GB, free: 84.46 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.00149/1.586, allocations: 1.848 MB / 0.9419 GB, free: 82.57 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000502/1.587, allocations: 367.1 kB / 0.9423 GB, free: 82.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.587, allocations: 0 / 0.9423 GB, free: 82.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001989/1.587, allocations: 234.5 kB / 0.9425 GB, free: 81.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007781/1.588, allocations: 156.3 kB / 0.9426 GB, free: 81.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009392/1.589, allocations: 0.5669 MB / 0.9432 GB, free: 81.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/1.589, allocations: 0.7726 MB / 0.9439 GB, free: 80.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005026/1.589, allocations: 110.9 kB / 0.944 GB, free: 80.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002378/1.59, allocations: 131.4 kB / 0.9442 GB, free: 80.16 MB / 426.7 MB Notification: Performance of SimCode: time 3.81e-07/1.59, allocations: 0 / 0.9442 GB, free: 80.16 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0362/1.626, allocations: 25.17 MB / 0.9687 GB, free: 54.95 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001348/1.626, allocations: 198.4 kB / 0.9689 GB, free: 54.72 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.577/4.203, allocations: 0 / 0.9689 GB, free: 54.72 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat