Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa",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.001066/0.001065, allocations: 94.14 kB / 16.95 MB, free: 6.113 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.001079/0.001079, allocations: 175.3 kB / 17.84 MB, free: 5.73 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.678/1.678, allocations: 205.4 MB / 224 MB, free: 13.07 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.0004416/0.0004418, allocations: 16 kB / 280.9 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1033, allocations: 47.58 MB / 328.5 MB, free: 3.953 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.3895/0.4929, allocations: 156.9 MB / 485.4 MB, free: 13.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003772/0.4967, allocations: 3.001 MB / 488.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002763/0.497, allocations: 7.938 kB / 488.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004896/0.4975, allocations: 123.3 kB / 488.5 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008278/0.4984, allocations: 366.1 kB / 488.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.4992, allocations: 274.5 kB / 489.1 MB, free: 9.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001096/0.5003, allocations: 1.121 MB / 490.3 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002001/0.5005, allocations: 65.19 kB / 490.3 MB, free: 8.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001802/0.5023, allocations: 0.6656 MB / 491 MB, free: 7.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003628/0.5027, allocations: 279 kB / 491.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.006e-05/0.5027, allocations: 16 kB / 491.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.503, allocations: 107.9 kB / 491.4 MB, free: 7.121 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.5031, allocations: 79.7 kB / 491.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.863e-05/0.5032, allocations: 89.58 kB / 491.6 MB, free: 6.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004359/0.5037, allocations: 392.8 kB / 491.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.5037, allocations: 4 kB / 491.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5037, allocations: 0 / 491.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.5037, allocations: 4 kB / 491.9 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.000731/0.5044, allocations: 0.5231 MB / 492.5 MB, free: 5.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.5045, allocations: 8.031 kB / 492.5 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.839e-05/0.5046, allocations: 62.53 kB / 492.5 MB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002641/0.5049, allocations: 47.61 kB / 492.6 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.5052, allocations: 274.5 kB / 492.9 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.197e-05/0.5053, allocations: 24.56 kB / 492.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.94e-05/0.5053, allocations: 24 kB / 492.9 MB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004934/0.5058, allocations: 311.7 kB / 493.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.5058, allocations: 0 / 493.2 MB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.5059, allocations: 15.95 kB / 493.2 MB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.5059, allocations: 12 kB / 493.2 MB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003112/0.5062, allocations: 201.6 kB / 493.4 MB, free: 4.949 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.001741/0.508, allocations: 1.577 MB / 495 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.5083, allocations: 178.7 kB / 495.2 MB, free: 3.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.5084, allocations: 96.77 kB / 495.3 MB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.5085, allocations: 4 kB / 495.3 MB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.5085, allocations: 35.25 kB / 495.3 MB, free: 2.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.5085, allocations: 0 / 495.3 MB, free: 2.895 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.004876/0.5134, allocations: 1.626 MB / 496.9 MB, free: 1.137 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.5135, allocations: 59.41 kB / 497 MB, free: 1.066 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.5137, allocations: 256.8 kB / 497.2 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.5138, allocations: 33.7 kB / 497.3 MB, free: 0.7695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.5139, allocations: 176.2 kB / 497.4 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.967e-05/0.514, allocations: 98.56 kB / 497.5 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/0.514, allocations: 4 kB / 497.6 MB, free: 500 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.5142, allocations: 338.8 kB / 497.9 MB, free: 152 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.5144, allocations: 91.73 kB / 498 MB, free: 60 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.5146, allocations: 191.8 kB / 498.2 MB, free: 15.82 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001872/0.5148, allocations: 112 kB / 498.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5148, allocations: 4 kB / 498.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000608/0.5154, allocations: 398.9 kB / 498.7 MB, free: 15.31 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.5155, allocations: 7.953 kB / 498.7 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.5155, allocations: 4 kB / 498.7 MB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002843/0.5158, allocations: 73.62 kB / 498.7 MB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004407/0.5162, allocations: 83.89 kB / 498.8 MB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.5177, allocations: 1.86 MB / 0.489 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002248/0.5179, allocations: 19.89 kB / 0.489 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.029e-05/0.518, allocations: 40 kB / 0.489 GB, free: 13.06 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.0001859/0.5182, allocations: 161.6 kB / 0.4892 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/0.5183, allocations: 27.72 kB / 0.4892 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009565/0.5192, allocations: 442.5 kB / 0.4896 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.5192, allocations: 4 kB / 0.4896 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.5192, allocations: 0 / 0.4896 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006503/0.5199, allocations: 0.5634 MB / 0.4902 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.521, allocations: 0.7349 MB / 0.4909 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.521, allocations: 0 / 0.4909 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.5213, allocations: 71.89 kB / 0.491 GB, free: 10.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.636e-05/0.5214, allocations: 20.75 kB / 0.491 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.5214, allocations: 16.06 kB / 0.491 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009885/0.5224, allocations: 1.276 MB / 0.4922 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.5224, allocations: 4.156 kB / 0.4922 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006459/0.5231, allocations: 482.1 kB / 0.4927 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001531/0.5232, allocations: 100.8 kB / 0.4928 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.5233, allocations: 11.94 kB / 0.4928 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.5235, allocations: 20.05 kB / 0.4928 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.5236, allocations: 23.97 kB / 0.4928 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.5236, allocations: 27.98 kB / 0.4929 GB, free: 8.746 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001853/0.5238, allocations: 190 kB / 0.4931 GB, free: 8.562 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5238, allocations: 0 / 0.4931 GB, free: 8.562 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004848/0.5243, allocations: 120 kB / 0.4932 GB, free: 8.445 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.001168/0.5255, allocations: 1.07 MB / 0.4942 GB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006408/0.5261, allocations: 371.1 kB / 0.4946 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5261, allocations: 0 / 0.4946 GB, free: 6.965 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.5264, allocations: 238.5 kB / 0.4948 GB, free: 6.719 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008867/0.5273, allocations: 164.5 kB / 0.495 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.5302, allocations: 1.874 MB / 0.4968 GB, free: 4.594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003709/0.5306, allocations: 0.7645 MB / 0.4975 GB, free: 3.805 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000544/0.5312, allocations: 122.9 kB / 0.4976 GB, free: 3.684 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002701/0.5314, allocations: 127.4 kB / 0.4978 GB, free: 3.559 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.5315, allocations: 0 / 0.4978 GB, free: 3.559 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02615/0.5576, allocations: 11.12 MB / 0.5086 GB, free: 8.426 MB / 414.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/0.5579, allocations: 228 kB / 0.5088 GB, free: 8.188 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.209/2.767, allocations: 0 / 0.5088 GB, free: 8.188 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_DryAirNasa.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.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.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat