Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",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.0009725/0.0009727, allocations: 101.4 kB / 16.94 MB, free: 6.445 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.001097/0.001097, allocations: 184.8 kB / 17.83 MB, free: 6.012 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.555/1.555, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004722/0.0004723, allocations: 16.77 kB / 280.9 MB, free: 3.637 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1106, allocations: 47.58 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.3794/0.49, allocations: 121.9 MB / 450.3 MB, free: 14.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.4921, allocations: 1.504 MB / 451.8 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.4923, allocations: 8 kB / 451.8 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005434/0.4929, allocations: 147.3 kB / 452 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004524/0.4933, allocations: 219.4 kB / 452.2 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009222/0.4943, allocations: 338.3 kB / 452.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005458/0.4948, allocations: 470.9 kB / 453 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.495, allocations: 76.66 kB / 453.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005602/0.4956, allocations: 307.1 kB / 453.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.4959, allocations: 199.3 kB / 453.6 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.728e-05/0.4959, allocations: 16 kB / 453.6 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.4962, allocations: 87.88 kB / 453.7 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.573e-05/0.4963, allocations: 75.72 kB / 453.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.683e-05/0.4964, allocations: 89.58 kB / 453.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003614/0.4968, allocations: 373.9 kB / 454.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.4968, allocations: 0 / 454.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4968, allocations: 0 / 454.2 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.4968, allocations: 0 / 454.2 MB, free: 10.5 MB / 350.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.0007927/0.4976, allocations: 0.5308 MB / 454.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.4976, allocations: 12.03 kB / 454.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.111e-05/0.4977, allocations: 62.53 kB / 454.8 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002588/0.498, allocations: 39.62 kB / 454.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.4984, allocations: 282.5 kB / 455.1 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.4984, allocations: 20.56 kB / 455.1 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.4985, allocations: 24 kB / 455.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.4989, allocations: 289.4 kB / 455.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.499, allocations: 0 / 455.4 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.827e-05/0.499, allocations: 15.95 kB / 455.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.499, allocations: 8 kB / 455.4 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003618/0.4994, allocations: 210 kB / 455.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.5011, allocations: 1.297 MB / 457 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004176/0.5016, allocations: 179.3 kB / 457.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.5017, allocations: 170.4 kB / 457.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.5018, allocations: 38.73 kB / 457.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.413e-06/0.5018, allocations: 0 / 457.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.00241/0.5042, allocations: 1.035 MB / 458.4 MB, free: 5.922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.5042, allocations: 55.41 kB / 458.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002617/0.5045, allocations: 258.5 kB / 458.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.073e-05/0.5046, allocations: 33.7 kB / 458.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5047, allocations: 176.2 kB / 458.9 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.595e-05/0.5048, allocations: 90.73 kB / 459 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.5048, allocations: 11.94 kB / 459 MB, free: 5.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5049, allocations: 338.8 kB / 459.3 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.5051, allocations: 83.75 kB / 459.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001903/0.5053, allocations: 175.8 kB / 459.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.5054, allocations: 107.9 kB / 459.7 MB, free: 4.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5054, allocations: 4 kB / 459.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006056/0.5061, allocations: 443.7 kB / 460.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.5061, allocations: 11.94 kB / 460.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5061, allocations: 4 kB / 460.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.5062, allocations: 42.11 kB / 460.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.5066, allocations: 79.89 kB / 460.2 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/0.5086, allocations: 2.588 MB / 462.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002224/0.5088, allocations: 16.31 kB / 462.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.5088, allocations: 16 kB / 462.9 MB, free: 1.047 MB / 350.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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.509, allocations: 161.6 kB / 463 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.5091, allocations: 31.62 kB / 463 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005358/0.5096, allocations: 370.8 kB / 463.4 MB, free: 464 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5096, allocations: 4 kB / 463.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5097, allocations: 0 / 463.4 MB, free: 460 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006011/0.5103, allocations: 0.6149 MB / 464 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.5113, allocations: 0.7586 MB / 464.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.5113, allocations: 0 / 464.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.5116, allocations: 55.91 kB / 464.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.939e-05/0.5117, allocations: 20.84 kB / 464.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.5117, allocations: 4 kB / 464.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009925/0.5127, allocations: 1.29 MB / 466.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5127, allocations: 0 / 466.2 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006692/0.5134, allocations: 0.532 MB / 466.7 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.5135, allocations: 96.84 kB / 466.8 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.5135, allocations: 11.94 kB / 466.8 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.5138, allocations: 16.06 kB / 466.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.84e-05/0.5138, allocations: 19.91 kB / 466.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.5139, allocations: 15.98 kB / 466.8 MB, free: 12.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.5141, allocations: 186 kB / 467 MB, free: 12.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5141, allocations: 4 kB / 467 MB, free: 12.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004914/0.5146, allocations: 107.9 kB / 467.1 MB, free: 12.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.001069/0.5156, allocations: 1.141 MB / 468.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000619/0.5163, allocations: 453.5 kB / 468.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5163, allocations: 0 / 468.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.5166, allocations: 218.6 kB / 468.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009007/0.5175, allocations: 157.6 kB / 469.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.5208, allocations: 3.85 MB / 472.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/0.5212, allocations: 0.7684 MB / 473.7 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003081/0.5216, allocations: 66.86 kB / 473.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001456/0.5217, allocations: 87.41 kB / 473.9 MB, free: 5.371 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5217, allocations: 3.938 kB / 473.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.5445, allocations: 8.421 MB / 482.3 MB, free: 12.95 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.5447, allocations: 221.4 kB / 482.5 MB, free: 12.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.594, allocations: 7.938 kB / 482.5 MB, free: 12.7 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.SimpleAir_res.mat does not exist to compare? outputFormat=mat