Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 186.5 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.954/1.954, allocations: 205.4 MB / 222.5 MB, free: 9.133 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001137, allocations: 88.52 kB / 270.9 MB, free: 8.395 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003961, allocations: 8 kB / 327.1 MB, free: 136 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 47.58 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.051/2.378, allocations: 0.7179 GB / 1.084 GB, free: 34.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/2.378, allocations: 80.27 kB / 1.084 GB, free: 34.53 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1474/2.525, allocations: 33.84 MB / 1.117 GB, free: 5.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.525e-06/2.525, allocations: 0 / 1.117 GB, free: 5.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/2.525, allocations: 0 / 1.117 GB, free: 5.957 MB / 426.7 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.0006152/2.526, allocations: 418.5 kB / 1.117 GB, free: 5.504 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/2.526, allocations: 8.25 kB / 1.117 GB, free: 5.496 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.191e-05/2.526, allocations: 41.94 kB / 1.117 GB, free: 5.453 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/2.529, allocations: 197.2 kB / 1.118 GB, free: 5.277 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/2.53, allocations: 205.6 kB / 1.118 GB, free: 5.051 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.021e-05/2.53, allocations: 11.67 kB / 1.118 GB, free: 5.043 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/2.53, allocations: 15.55 kB / 1.118 GB, free: 5.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/2.53, allocations: 197.5 kB / 1.118 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/2.53, allocations: 0 / 1.118 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.892e-05/2.531, allocations: 3.562 kB / 1.118 GB, free: 4.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/2.531, allocations: 7.938 kB / 1.118 GB, free: 4.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/2.531, allocations: 214.9 kB / 1.118 GB, free: 4.742 MB / 426.7 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.002202/2.534, allocations: 0.6246 MB / 1.119 GB, free: 4.176 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006467/2.534, allocations: 152.8 kB / 1.119 GB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002957/2.535, allocations: 99.52 kB / 1.119 GB, free: 3.953 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/2.535, allocations: 41.19 kB / 1.119 GB, free: 3.906 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.286e-06/2.535, allocations: 7.938 kB / 1.119 GB, free: 3.898 MB / 426.7 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.009665/2.544, allocations: 1.459 MB / 1.121 GB, free: 2.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/2.545, allocations: 55.39 kB / 1.121 GB, free: 2.527 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.038e-05/2.545, allocations: 107.3 kB / 1.121 GB, free: 2.422 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/2.545, allocations: 29.02 kB / 1.121 GB, free: 2.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.774e-05/2.545, allocations: 166.8 kB / 1.121 GB, free: 2.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/2.545, allocations: 73.38 kB / 1.121 GB, free: 2.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/2.545, allocations: 2.438 kB / 1.121 GB, free: 2.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.464e-05/2.545, allocations: 324 kB / 1.121 GB, free: 1.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003261/2.545, allocations: 79.52 kB / 1.121 GB, free: 1.789 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/2.546, allocations: 115.1 kB / 1.121 GB, free: 1.699 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/2.546, allocations: 101.5 kB / 1.122 GB, free: 1.641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/2.546, allocations: 3.953 kB / 1.122 GB, free: 1.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009397/2.547, allocations: 261.9 kB / 1.122 GB, free: 1.445 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/2.547, allocations: 4 kB / 1.122 GB, free: 1.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/2.547, allocations: 4 kB / 1.122 GB, free: 1.438 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/2.547, allocations: 21.22 kB / 1.122 GB, free: 1.418 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/2.548, allocations: 51.91 kB / 1.122 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003827/2.548, allocations: 0.5361 MB / 1.122 GB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004037/2.549, allocations: 11.06 kB / 1.122 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/2.549, allocations: 19.38 kB / 1.122 GB, free: 0.793 MB / 426.7 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.0001668/2.549, allocations: 128.5 kB / 1.123 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-05/2.549, allocations: 8 kB / 1.123 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/2.55, allocations: 293.6 kB / 1.123 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/2.55, allocations: 4 kB / 1.123 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/2.55, allocations: 0 / 1.123 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/2.55, allocations: 0 / 1.123 GB, free: 420 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2705/2.821, allocations: 0.6566 MB / 1.123 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/2.821, allocations: 6.75 kB / 1.123 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006591/2.822, allocations: 52.92 kB / 1.124 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/2.822, allocations: 16.42 kB / 1.124 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.988e-05/2.822, allocations: 11.78 kB / 1.124 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009352/2.823, allocations: 1.267 MB / 1.125 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/2.823, allocations: 5.359 kB / 1.125 GB, free: 137.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/2.824, allocations: 469 kB / 1.125 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.78e-05/2.824, allocations: 83.27 kB / 1.125 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/2.824, allocations: 14.09 kB / 1.125 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/2.825, allocations: 7.062 kB / 1.125 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.013e-05/2.825, allocations: 20.11 kB / 1.125 GB, free: 137.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.311e-05/2.825, allocations: 11.73 kB / 1.125 GB, free: 137.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.053e-05/2.825, allocations: 90 kB / 1.125 GB, free: 137.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/2.825, allocations: 2.625 kB / 1.125 GB, free: 137.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009959/2.826, allocations: 158.9 kB / 1.126 GB, free: 137.5 MB / 426.7 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.00333/2.829, allocations: 1.717 MB / 1.127 GB, free: 136.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001012/2.83, allocations: 214.1 kB / 1.127 GB, free: 136.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/2.83, allocations: 3.438 kB / 1.127 GB, free: 136.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005943/2.831, allocations: 221.7 kB / 1.128 GB, free: 136.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005938/2.832, allocations: 50.2 kB / 1.128 GB, free: 136.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003183/2.835, allocations: 1.621 MB / 1.129 GB, free: 135.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/2.835, allocations: 0.7088 MB / 1.13 GB, free: 134.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/2.835, allocations: 45.92 kB / 1.13 GB, free: 134.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/2.835, allocations: 0 / 1.13 GB, free: 134.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.232/6.067, allocations: 7.954 MB / 1.138 GB, free: 134.1 MB / 426.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat