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.001004/0.001003, allocations: 95.92 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.001126/0.001126, allocations: 190.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.542/1.542, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004928/0.0004931, allocations: 11.28 kB / 280.9 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1085, allocations: 47.58 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa): time 0.358/0.4666, allocations: 137.3 MB / 465.7 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.4694, allocations: 1.942 MB / 467.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002726/0.4697, allocations: 3.938 kB / 467.7 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005604/0.4703, allocations: 143.4 kB / 467.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007494/0.471, allocations: 275.1 kB / 468.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008174/0.4719, allocations: 274 kB / 468.3 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.4725, allocations: 483 kB / 468.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001932/0.4727, allocations: 74.05 kB / 468.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001004/0.4737, allocations: 434.8 kB / 469.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/0.4739, allocations: 183.3 kB / 469.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.474, allocations: 16 kB / 469.5 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.4743, allocations: 99.88 kB / 469.6 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.497e-05/0.4744, allocations: 75.78 kB / 469.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.4745, allocations: 89.58 kB / 469.8 MB, free: 11.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004265/0.4749, allocations: 389.8 kB / 470.1 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.4749, allocations: 4 kB / 470.1 MB, free: 11 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4749, allocations: 3.938 kB / 470.1 MB, free: 10.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.4749, allocations: 4 kB / 470.1 MB, free: 10.99 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.0007934/0.4757, allocations: 0.5191 MB / 470.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4758, allocations: 12.03 kB / 470.7 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.585e-05/0.4759, allocations: 58.55 kB / 470.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002691/0.4762, allocations: 47.55 kB / 470.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.4765, allocations: 270.6 kB / 471 MB, free: 9.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.4766, allocations: 20.56 kB / 471.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.4766, allocations: 26.38 kB / 471.1 MB, free: 9.949 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00051/0.4771, allocations: 311.7 kB / 471.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/0.4772, allocations: 0 / 471.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.659e-05/0.4772, allocations: 15.95 kB / 471.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.4772, allocations: 8 kB / 471.4 MB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003564/0.4776, allocations: 209.5 kB / 471.6 MB, free: 9.387 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.001825/0.4794, allocations: 1.566 MB / 473.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.4798, allocations: 178.7 kB / 473.4 MB, free: 7.488 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.4798, allocations: 4 kB / 473.4 MB, free: 7.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.4798, allocations: 38.55 kB / 473.4 MB, free: 7.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.114e-06/0.4799, allocations: 0 / 473.4 MB, free: 7.438 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.005473/0.4853, allocations: 1.635 MB / 475 MB, free: 5.672 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.942e-05/0.4854, allocations: 59.41 kB / 475.1 MB, free: 5.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.4857, allocations: 248.9 kB / 475.3 MB, free: 5.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.559e-05/0.4857, allocations: 33.69 kB / 475.4 MB, free: 5.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.4858, allocations: 168.3 kB / 475.5 MB, free: 5.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.281e-05/0.4859, allocations: 106.5 kB / 475.6 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/0.486, allocations: 4 kB / 475.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4861, allocations: 342.8 kB / 476 MB, free: 4.688 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.4863, allocations: 87.69 kB / 476.1 MB, free: 4.602 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.4865, allocations: 187.8 kB / 476.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001902/0.4867, allocations: 119.9 kB / 476.4 MB, free: 4.258 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4867, allocations: 0 / 476.4 MB, free: 4.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006091/0.4873, allocations: 395.1 kB / 476.7 MB, free: 3.859 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4874, allocations: 8 kB / 476.8 MB, free: 3.852 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.4874, allocations: 3.953 kB / 476.8 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.4876, allocations: 73.67 kB / 476.8 MB, free: 3.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.488, allocations: 79.91 kB / 476.9 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.4895, allocations: 1.86 MB / 478.8 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.4897, allocations: 28.25 kB / 478.8 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.236e-05/0.4898, allocations: 43.92 kB / 478.8 MB, free: 1.605 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.0001809/0.49, allocations: 153.7 kB / 479 MB, free: 1.445 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.49, allocations: 27.72 kB / 479 MB, free: 1.418 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009526/0.491, allocations: 448.5 kB / 479.5 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.491, allocations: 4 kB / 479.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.491, allocations: 0 / 479.5 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005901/0.4916, allocations: 0.5672 MB / 480 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.4927, allocations: 0.7233 MB / 480.8 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.4927, allocations: 4 kB / 480.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.4931, allocations: 67.89 kB / 480.8 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.243e-05/0.4932, allocations: 24.75 kB / 480.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.4932, allocations: 12 kB / 480.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009504/0.4942, allocations: 1.288 MB / 482.1 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4942, allocations: 7.984 kB / 482.2 MB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000668/0.4948, allocations: 0.49 MB / 482.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.495, allocations: 108.8 kB / 482.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.888e-05/0.495, allocations: 8 kB / 482.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.4953, allocations: 20.05 kB / 482.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.4953, allocations: 19.94 kB / 482.8 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.279e-05/0.4954, allocations: 31.98 kB / 482.8 MB, free: 13.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.4956, allocations: 190 kB / 483 MB, free: 13.06 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4956, allocations: 0 / 483 MB, free: 13.06 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005263/0.4961, allocations: 124 kB / 483.1 MB, free: 12.94 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.001278/0.4974, allocations: 1.219 MB / 484.4 MB, free: 11.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006296/0.498, allocations: 375.1 kB / 484.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4981, allocations: 0 / 484.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.4983, allocations: 230.5 kB / 484.9 MB, free: 11.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000888/0.4992, allocations: 152.5 kB / 485.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.5027, allocations: 3.829 MB / 488.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.5031, allocations: 0.769 MB / 489.7 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005629/0.5037, allocations: 114.9 kB / 489.8 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.5039, allocations: 123.4 kB / 489.9 MB, free: 5.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5039, allocations: 0 / 489.9 MB, free: 5.945 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02604/0.53, allocations: 11.11 MB / 0.4893 GB, free: 10.83 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.5302, allocations: 222.7 kB / 0.4895 GB, free: 10.59 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/2.541, allocations: 0 / 0.4895 GB, free: 10.59 MB / 398.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