Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001599/0.001604, allocations: 182.5 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001189/0.001189, allocations: 96.2 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003942/0.0003944, allocations: 12 kB / 327.1 MB, free: 96 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3369, allocations: 47.58 MB / 374.6 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.5391/0.876, allocations: 137.2 MB / 0.4999 GB, free: 1.957 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004233/0.8803, allocations: 1.935 MB / 0.5018 GB, free: 1.926 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.881, allocations: 2.031 kB / 0.5018 GB, free: 1.926 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.8818, allocations: 150 kB / 0.5019 GB, free: 1.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.883, allocations: 276.5 kB / 0.5022 GB, free: 1.914 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.8843, allocations: 277.5 kB / 0.5024 GB, free: 1.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009981/0.8853, allocations: 483.1 kB / 0.5029 GB, free: 1.914 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002238/0.8855, allocations: 72.89 kB / 0.503 GB, free: 1.898 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001593/0.8871, allocations: 432.1 kB / 0.5034 GB, free: 1.898 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.8875, allocations: 174.2 kB / 0.5035 GB, free: 1.895 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 6.919e-05/0.8876, allocations: 14.16 kB / 0.5036 GB, free: 1.895 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004678/0.8881, allocations: 104.8 kB / 0.5037 GB, free: 1.895 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001289/0.8882, allocations: 74.66 kB / 0.5037 GB, free: 1.895 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.8884, allocations: 91.48 kB / 0.5038 GB, free: 1.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00059/0.889, allocations: 391.7 kB / 0.5042 GB, free: 1.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.889, allocations: 0 / 0.5042 GB, free: 1.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.889, allocations: 0 / 0.5042 GB, free: 1.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.889, allocations: 0 / 0.5042 GB, free: 1.84 MB / 378.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.001188/0.8902, allocations: 0.5171 MB / 0.5047 GB, free: 17.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.8903, allocations: 9.25 kB / 0.5047 GB, free: 17.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.8904, allocations: 62.58 kB / 0.5048 GB, free: 17.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003688/0.8908, allocations: 47.52 kB / 0.5048 GB, free: 17.35 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.8913, allocations: 281.6 kB / 0.5051 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.8914, allocations: 21 kB / 0.5051 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.8914, allocations: 23.47 kB / 0.5051 GB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007269/0.8922, allocations: 313.5 kB / 0.5054 GB, free: 17.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.8922, allocations: 1.75 kB / 0.5054 GB, free: 17.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.783e-05/0.8923, allocations: 13.31 kB / 0.5054 GB, free: 17.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.8923, allocations: 5.625 kB / 0.5054 GB, free: 17.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.8928, allocations: 213.6 kB / 0.5056 GB, free: 17.02 MB / 394.7 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.002752/0.8956, allocations: 1.568 MB / 0.5072 GB, free: 15.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.896, allocations: 178.5 kB / 0.5073 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.8961, allocations: 8.969 kB / 0.5074 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.8961, allocations: 36.75 kB / 0.5074 GB, free: 15.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.246e-06/0.8962, allocations: 0 / 0.5074 GB, free: 15.77 MB / 394.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.009367/0.9055, allocations: 1.624 MB / 0.509 GB, free: 15.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.9056, allocations: 58.2 kB / 0.509 GB, free: 14.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004215/0.9061, allocations: 254 kB / 0.5093 GB, free: 14.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.9062, allocations: 30.8 kB / 0.5093 GB, free: 14.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.9063, allocations: 227.3 kB / 0.5095 GB, free: 14.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.9064, allocations: 104.2 kB / 0.5096 GB, free: 14.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.9065, allocations: 12.97 kB / 0.5096 GB, free: 14.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.9066, allocations: 324.4 kB / 0.5099 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003032/0.907, allocations: 91.22 kB / 0.51 GB, free: 14.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000362/0.9073, allocations: 189.6 kB / 0.5102 GB, free: 14.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003854/0.9077, allocations: 117.2 kB / 0.5103 GB, free: 14.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.9078, allocations: 1.125 kB / 0.5103 GB, free: 14.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001079/0.9088, allocations: 374.8 kB / 0.5107 GB, free: 14.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.9089, allocations: 12.81 kB / 0.5107 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.9089, allocations: 3.281 kB / 0.5107 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/0.9092, allocations: 72.72 kB / 0.5108 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.9099, allocations: 86 kB / 0.5108 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/0.9119, allocations: 1.868 MB / 0.5127 GB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004778/0.9124, allocations: 24.25 kB / 0.5127 GB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.058e-05/0.9125, allocations: 39 kB / 0.5127 GB, free: 12.26 MB / 394.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 () * 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.0002774/0.9128, allocations: 157 kB / 0.5129 GB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.9129, allocations: 31.45 kB / 0.5129 GB, free: 12.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001482/0.9144, allocations: 443.1 kB / 0.5133 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.9144, allocations: 3.312 kB / 0.5133 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9144, allocations: 4 kB / 0.5133 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008284/0.9152, allocations: 0.5571 MB / 0.5139 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.9168, allocations: 0.7275 MB / 0.5146 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.9168, allocations: 0 / 0.5146 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005582/0.9174, allocations: 68.19 kB / 0.5147 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001258/0.9175, allocations: 24.77 kB / 0.5147 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.04e-05/0.9176, allocations: 14.31 kB / 0.5147 GB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.9188, allocations: 1.289 MB / 0.516 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.9189, allocations: 2.969 kB / 0.516 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.9201, allocations: 0.4941 MB / 0.5164 GB, free: 9.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001748/0.9203, allocations: 102.8 kB / 0.5165 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.818e-05/0.9204, allocations: 9.344 kB / 0.5165 GB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.9208, allocations: 14.44 kB / 0.5166 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.382e-05/0.9209, allocations: 28.88 kB / 0.5166 GB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.921, allocations: 26.7 kB / 0.5166 GB, free: 9.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003163/0.9214, allocations: 192 kB / 0.5168 GB, free: 9.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.382e-06/0.9214, allocations: 0 / 0.5168 GB, free: 9.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008749/0.9223, allocations: 127.6 kB / 0.5169 GB, free: 9.551 MB / 394.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 () * 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.002039/0.9243, allocations: 1.222 MB / 0.5181 GB, free: 8.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.9255, allocations: 369.5 kB / 0.5185 GB, free: 8.551 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.9255, allocations: 4 kB / 0.5185 GB, free: 8.547 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.926, allocations: 233 kB / 0.5187 GB, free: 8.438 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.9276, allocations: 159.4 kB / 0.5188 GB, free: 8.422 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/0.9334, allocations: 3.861 MB / 0.5226 GB, free: 5.582 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.9339, allocations: 0.7715 MB / 0.5234 GB, free: 4.883 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000621/0.9345, allocations: 132.1 kB / 0.5235 GB, free: 4.867 MB / 394.7 MB Notification: Performance of SimCode: time 1.173e-06/0.9345, allocations: 1.859 kB / 0.5235 GB, free: 4.867 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.194/4.129, allocations: 8.791 MB / 0.5321 GB, free: 2.414 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen.fmu > Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat