Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.00111/0.00111, allocations: 94.95 kB / 16.95 MB, free: 6.891 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.001656/0.001656, allocations: 185.9 kB / 17.84 MB, free: 6.137 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.622/1.622, allocations: 205.4 MB / 224 MB, free: 13.08 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.0004592/0.0004593, allocations: 12 kB / 280.9 MB, free: 3.602 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/0.09719, allocations: 47.57 MB / 328.5 MB, free: 3.965 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4021/0.4994, allocations: 156.9 MB / 485.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.5034, allocations: 2.997 MB / 488.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004185/0.5039, allocations: 7.938 kB / 488.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005999/0.5045, allocations: 123.2 kB / 488.5 MB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009877/0.5055, allocations: 366.1 kB / 488.9 MB, free: 9.645 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000882/0.5064, allocations: 278.3 kB / 489.1 MB, free: 9.375 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001014/0.5074, allocations: 1.11 MB / 490.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001606/0.5076, allocations: 73.17 kB / 490.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001662/0.5093, allocations: 0.6695 MB / 491 MB, free: 7.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003429/0.5096, allocations: 278.9 kB / 491.3 MB, free: 7.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.5097, allocations: 12 kB / 491.3 MB, free: 7.234 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003772/0.5101, allocations: 103.9 kB / 491.4 MB, free: 7.133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.5102, allocations: 79.77 kB / 491.5 MB, free: 7.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.987e-05/0.5103, allocations: 93.52 kB / 491.6 MB, free: 6.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.5107, allocations: 404.8 kB / 491.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.5107, allocations: 0 / 491.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.5107, allocations: 0 / 491.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.5107, allocations: 3.938 kB / 492 MB, free: 6.559 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.0007135/0.5114, allocations: 0.5192 MB / 492.5 MB, free: 5.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.5115, allocations: 8.031 kB / 492.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.036e-05/0.5116, allocations: 66.53 kB / 492.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002473/0.5118, allocations: 47.62 kB / 492.6 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004319/0.5123, allocations: 262.6 kB / 492.8 MB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/0.5123, allocations: 20.56 kB / 492.9 MB, free: 5.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.5123, allocations: 24 kB / 492.9 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.5128, allocations: 315.7 kB / 493.2 MB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.5128, allocations: 4 kB / 493.2 MB, free: 5.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.5129, allocations: 19.94 kB / 493.2 MB, free: 5.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.5129, allocations: 8 kB / 493.2 MB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.5132, allocations: 205.5 kB / 493.4 MB, free: 4.953 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.001723/0.5149, allocations: 1.577 MB / 495 MB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.5152, allocations: 172.7 kB / 495.2 MB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.5154, allocations: 100.8 kB / 495.3 MB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.5154, allocations: 8 kB / 495.3 MB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.5154, allocations: 35.19 kB / 495.3 MB, free: 2.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.713e-06/0.5155, allocations: 0 / 495.3 MB, free: 2.898 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.005163/0.5206, allocations: 1.626 MB / 496.9 MB, free: 1.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.5207, allocations: 55.34 kB / 497 MB, free: 1.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002473/0.5209, allocations: 260.8 kB / 497.3 MB, free: 0.8125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.521, allocations: 33.7 kB / 497.3 MB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/0.5211, allocations: 184.1 kB / 497.5 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.5212, allocations: 94.56 kB / 497.6 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.765e-05/0.5212, allocations: 4 kB / 497.6 MB, free: 500 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.5213, allocations: 338.8 kB / 497.9 MB, free: 152 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.5215, allocations: 91.73 kB / 498 MB, free: 60 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002194/0.5217, allocations: 191.8 kB / 498.2 MB, free: 15.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.5219, allocations: 115.9 kB / 498.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.5219, allocations: 0 / 498.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005951/0.5225, allocations: 398.7 kB / 498.7 MB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.394e-05/0.5225, allocations: 7.953 kB / 498.7 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.345e-05/0.5226, allocations: 4 kB / 498.7 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.5229, allocations: 73.69 kB / 498.8 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003303/0.5232, allocations: 84.3 kB / 498.8 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.5245, allocations: 1.852 MB / 0.489 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.5248, allocations: 23.89 kB / 0.489 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.687e-05/0.5249, allocations: 36 kB / 0.489 GB, free: 13.07 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.0001587/0.525, allocations: 165.8 kB / 0.4892 GB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.5251, allocations: 29.53 kB / 0.4892 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008902/0.526, allocations: 432.5 kB / 0.4896 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.526, allocations: 4 kB / 0.4896 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.526, allocations: 4 kB / 0.4896 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004904/0.5265, allocations: 0.5712 MB / 0.4902 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.5276, allocations: 0.7194 MB / 0.4909 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.5276, allocations: 0 / 0.4909 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000297/0.5279, allocations: 71.89 kB / 0.4909 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.016e-05/0.528, allocations: 28.81 kB / 0.491 GB, free: 10.88 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.528, allocations: 15.98 kB / 0.491 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007826/0.5288, allocations: 1.276 MB / 0.4922 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.5288, allocations: 4.031 kB / 0.4922 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000701/0.5295, allocations: 478 kB / 0.4927 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.027e-05/0.5296, allocations: 104.9 kB / 0.4928 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.5297, allocations: 12 kB / 0.4928 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.5299, allocations: 15.98 kB / 0.4928 GB, free: 8.809 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.53, allocations: 31.89 kB / 0.4929 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.225e-05/0.53, allocations: 31.98 kB / 0.4929 GB, free: 8.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.5302, allocations: 186 kB / 0.4931 GB, free: 8.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5302, allocations: 0 / 0.4931 GB, free: 8.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005077/0.5307, allocations: 128 kB / 0.4932 GB, free: 8.441 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.001155/0.5319, allocations: 1.054 MB / 0.4942 GB, free: 7.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005967/0.5325, allocations: 383.1 kB / 0.4946 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5325, allocations: 3.938 kB / 0.4946 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000257/0.5328, allocations: 222.5 kB / 0.4948 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009472/0.5337, allocations: 156.5 kB / 0.4949 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.5365, allocations: 1.881 MB / 0.4968 GB, free: 4.605 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.5368, allocations: 0.7684 MB / 0.4975 GB, free: 3.812 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005624/0.5374, allocations: 114.9 kB / 0.4976 GB, free: 3.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002762/0.5377, allocations: 127.4 kB / 0.4978 GB, free: 3.574 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.5377, allocations: 0 / 0.4978 GB, free: 3.574 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02806/0.5658, allocations: 11.13 MB / 0.5086 GB, free: 8.438 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/0.5661, allocations: 228 kB / 0.5088 GB, free: 8.199 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.711, allocations: 0 / 0.5088 GB, free: 8.199 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat