Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.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.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir",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.0009162/0.000916, allocations: 95.83 kB / 16.95 MB, free: 6.453 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.001273/0.001273, allocations: 181.9 kB / 17.84 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.6/1.6, allocations: 205.4 MB / 224 MB, free: 13.15 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.000473/0.0004732, allocations: 12 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1084, allocations: 47.57 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.4841/0.5925, allocations: 137.1 MB / 465.6 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.5964, allocations: 2.829 MB / 468.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.224e-05/0.5965, allocations: 4 kB / 468.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002936/0.5968, allocations: 39.72 kB / 468.4 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.599, allocations: 0.6882 MB / 469.1 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005063/0.5995, allocations: 166.8 kB / 469.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.6001, allocations: 410.5 kB / 469.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.839e-05/0.6002, allocations: 21.06 kB / 469.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003727/0.6006, allocations: 135.5 kB / 469.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.6009, allocations: 115.6 kB / 469.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.722e-05/0.6009, allocations: 8 kB / 470 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002808/0.6038, allocations: 1.056 MB / 471 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.6039, allocations: 71.83 kB / 471.1 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.802e-05/0.604, allocations: 61.64 kB / 471.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.6052, allocations: 0.5981 MB / 471.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.6052, allocations: 3.984 kB / 471.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.158e-06/0.6052, allocations: 4 kB / 471.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.6052, allocations: 0 / 471.7 MB, free: 10.81 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001224/0.6064, allocations: 0.4921 MB / 472.2 MB, free: 10.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.6065, allocations: 12.03 kB / 472.2 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.96e-05/0.6066, allocations: 54.55 kB / 472.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003448/0.6101, allocations: 375.8 kB / 472.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005932/0.6107, allocations: 262.7 kB / 472.9 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.6107, allocations: 16.38 kB / 472.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-05/0.6108, allocations: 19.91 kB / 473 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.6119, allocations: 493.5 kB / 473.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.6119, allocations: 0 / 473.4 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.623e-05/0.612, allocations: 12 kB / 473.5 MB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.612, allocations: 8 kB / 473.5 MB, free: 8.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.6132, allocations: 0.5075 MB / 474 MB, free: 8.477 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.002385/0.6156, allocations: 0.9893 MB / 475 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005622/0.6162, allocations: 285 kB / 475.2 MB, free: 7.137 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/0.6165, allocations: 157.6 kB / 475.4 MB, free: 6.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001793/0.6183, allocations: 0.8971 MB / 476.3 MB, free: 5.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.6183, allocations: 42.48 kB / 476.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.404e-06/0.6184, allocations: 0 / 476.3 MB, free: 5.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=29): time 0.0009698/0.6193, allocations: 410.6 kB / 476.7 MB, free: 5.477 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.6194, allocations: 77.11 kB / 476.8 MB, free: 5.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.6195, allocations: 109.8 kB / 476.9 MB, free: 5.266 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.51e-05/0.6196, allocations: 33.7 kB / 476.9 MB, free: 5.227 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.6196, allocations: 108.4 kB / 477.1 MB, free: 5.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.6198, allocations: 106.4 kB / 477.2 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.6198, allocations: 4 kB / 477.2 MB, free: 5.004 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6199, allocations: 334.8 kB / 477.5 MB, free: 4.668 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.6202, allocations: 120.6 kB / 477.6 MB, free: 4.551 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.6206, allocations: 195.5 kB / 477.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.6209, allocations: 143.9 kB / 477.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.6209, allocations: 0 / 477.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007227/0.6216, allocations: 385.2 kB / 478.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.6217, allocations: 4 kB / 478.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.567e-06/0.6217, allocations: 4 kB / 478.3 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.6217, allocations: 4 kB / 478.3 MB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.6221, allocations: 71.89 kB / 478.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.6221, allocations: 8.25 kB / 478.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.6225, allocations: 43.67 kB / 478.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.29e-05/0.6226, allocations: 16 kB / 478.5 MB, free: 3.656 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001598/0.6228, allocations: 145.7 kB / 478.6 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.6229, allocations: 16.69 kB / 478.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008284/0.6237, allocations: 374.6 kB / 479 MB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6237, allocations: 4 kB / 479 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6237, allocations: 0 / 479 MB, free: 3.117 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.6238, allocations: 3.938 kB / 479 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007155/0.6245, allocations: 372.6 kB / 479.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.6245, allocations: 0 / 479.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005361/0.625, allocations: 63.34 kB / 479.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.6251, allocations: 0 / 479.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.6251, allocations: 11.98 kB / 479.4 MB, free: 2.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.6251, allocations: 8 kB / 479.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6251, allocations: 0 / 479.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/0.6262, allocations: 0.5533 MB / 480 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/0.6263, allocations: 96.8 kB / 480.1 MB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.6264, allocations: 8.062 kB / 480.1 MB, free: 1.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.6268, allocations: 19.98 kB / 480.1 MB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.6268, allocations: 15.97 kB / 480.1 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.6269, allocations: 19.98 kB / 480.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.668e-05/0.627, allocations: 91.27 kB / 480.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.627, allocations: 0 / 480.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001129/0.6281, allocations: 227.7 kB / 480.5 MB, free: 1.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,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 (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002353/0.6305, allocations: 1.352 MB / 481.8 MB, free: 184 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007541/0.6313, allocations: 304.9 kB / 482.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6313, allocations: 0 / 482.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.6316, allocations: 147.8 kB / 482.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006693/0.6322, allocations: 84.7 kB / 482.3 MB, free: 15.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003532/0.6358, allocations: 1.657 MB / 484 MB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004728/0.6363, allocations: 0.7402 MB / 484.7 MB, free: 13.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006779/0.637, allocations: 86.23 kB / 484.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.6371, allocations: 63.41 kB / 484.9 MB, free: 13 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.6371, allocations: 0 / 484.9 MB, free: 13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03732/0.6745, allocations: 10.03 MB / 494.9 MB, free: 2.973 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/0.6748, allocations: 176.7 kB / 495.1 MB, free: 2.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.308/2.982, allocations: 0 / 495.1 MB, free: 2.738 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_MixIdealGasAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat