Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",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.001046/0.001046, allocations: 93.5 kB / 16.95 MB, free: 6.836 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.001107/0.001106, allocations: 190.7 kB / 17.84 MB, free: 6.105 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.598/1.598, 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.0004668/0.0004669, allocations: 16 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 47.57 MB / 328.4 MB, free: 3.996 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.4272/0.5386, allocations: 136.8 MB / 465.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.5411, allocations: 1.383 MB / 466.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.315e-05/0.5412, allocations: 4 kB / 466.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.5416, allocations: 31.81 kB / 466.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008593/0.5424, allocations: 278.6 kB / 467 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004475/0.5429, allocations: 126.8 kB / 467.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002791/0.5432, allocations: 223.1 kB / 467.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.689e-05/0.5432, allocations: 7.984 kB / 467.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.5434, allocations: 59.78 kB / 467.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.5436, allocations: 67.73 kB / 467.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.5436, allocations: 4 kB / 467.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008814/0.5445, allocations: 423.3 kB / 467.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/0.5446, allocations: 35.88 kB / 467.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.839e-05/0.5446, allocations: 49.58 kB / 467.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003816/0.545, allocations: 261.3 kB / 468.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.545, allocations: 0 / 468.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5451, allocations: 0 / 468.2 MB, free: 14.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.5451, allocations: 0 / 468.2 MB, free: 14.37 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005765/0.5456, allocations: 408.1 kB / 468.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5457, allocations: 8.031 kB / 468.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.36e-05/0.5458, allocations: 42.55 kB / 468.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.5477, allocations: 200.1 kB / 468.8 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.548, allocations: 210.8 kB / 469 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.548, allocations: 8.188 kB / 469 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.5481, allocations: 12 kB / 469.1 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005002/0.5486, allocations: 195 kB / 469.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5486, allocations: 0 / 469.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.5486, allocations: 4 kB / 469.2 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5487, allocations: 4 kB / 469.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000575/0.5492, allocations: 240.4 kB / 469.5 MB, free: 12.96 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.001644/0.5509, allocations: 0.6721 MB / 470.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.5514, allocations: 194.5 kB / 470.3 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/0.5516, allocations: 96.8 kB / 470.4 MB, free: 11.94 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001589/0.5518, allocations: 89.09 kB / 470.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.5518, allocations: 38.56 kB / 470.6 MB, free: 11.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.122e-06/0.5518, allocations: 0 / 470.6 MB, free: 11.79 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005123/0.557, allocations: 1.53 MB / 472.1 MB, free: 10.14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.557, allocations: 55.41 kB / 472.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.956e-05/0.5571, allocations: 121.7 kB / 472.3 MB, free: 9.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.5572, allocations: 29.7 kB / 472.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.5572, allocations: 96.34 kB / 472.4 MB, free: 9.816 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.615e-05/0.5573, allocations: 67 kB / 472.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/0.5573, allocations: 8 kB / 472.5 MB, free: 9.742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5575, allocations: 318.8 kB / 472.8 MB, free: 9.422 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.5578, allocations: 91.81 kB / 472.9 MB, free: 9.332 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.558, allocations: 131.4 kB / 473 MB, free: 9.191 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.5582, allocations: 91.98 kB / 473.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5582, allocations: 0 / 473.1 MB, free: 9.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005902/0.5588, allocations: 294.3 kB / 473.4 MB, free: 8.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.5589, allocations: 4 kB / 473.4 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5589, allocations: 4 kB / 473.4 MB, free: 8.797 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/0.5591, allocations: 24.84 kB / 473.4 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003931/0.5595, allocations: 51.95 kB / 473.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004631/0.5599, allocations: 0.5407 MB / 474 MB, free: 8.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.5602, allocations: 11.91 kB / 474 MB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.5602, allocations: 11.98 kB / 474 MB, free: 8.129 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001416/0.5604, allocations: 125.7 kB / 474.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.5605, allocations: 7.906 kB / 474.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007753/0.5612, allocations: 319.3 kB / 474.5 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5613, allocations: 0 / 474.5 MB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.5613, allocations: 4 kB / 474.5 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.5613, allocations: 3.938 kB / 474.5 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.5626, allocations: 0.6758 MB / 475.1 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.5626, allocations: 3.984 kB / 475.2 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004064/0.563, allocations: 62.72 kB / 475.2 MB, free: 6.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.482e-05/0.5631, allocations: 24.94 kB / 475.2 MB, free: 6.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.5631, allocations: 4 kB / 475.2 MB, free: 6.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.5642, allocations: 1.264 MB / 476.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5642, allocations: 320 / 476.5 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.5651, allocations: 450.7 kB / 476.9 MB, free: 4.957 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.5652, allocations: 85.05 kB / 477 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.5652, allocations: 8 kB / 477 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.5655, allocations: 11.89 kB / 477 MB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.629e-05/0.5656, allocations: 15.98 kB / 477.1 MB, free: 4.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.5656, allocations: 11.98 kB / 477.1 MB, free: 4.809 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.176e-05/0.5657, allocations: 99.31 kB / 477.2 MB, free: 4.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5657, allocations: 0 / 477.2 MB, free: 4.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006321/0.5663, allocations: 127.9 kB / 477.3 MB, free: 4.586 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * 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.001969/0.5683, allocations: 1.109 MB / 478.4 MB, free: 3.438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.569, allocations: 227.8 kB / 478.6 MB, free: 3.215 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.569, allocations: 0 / 478.6 MB, free: 3.215 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004365/0.5694, allocations: 234.9 kB / 478.9 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.5699, allocations: 43.95 kB / 478.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.5722, allocations: 1.166 MB / 480.1 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.5727, allocations: 0.7126 MB / 480.8 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004687/0.5732, allocations: 57.31 kB / 480.8 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.5733, allocations: 47.36 kB / 480.9 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5733, allocations: 0 / 480.9 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.5989, allocations: 7.575 MB / 488.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.5991, allocations: 215.7 kB / 488.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.09/2.689, allocations: 0 / 488.7 MB, free: 9.035 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat