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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.406/1.406, allocations: 205.4 MB / 223.1 MB, free: 9.121 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.0007873/0.000787, allocations: 95.75 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002678/0.0002677, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.2269, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.522/1.749, allocations: 0.7179 GB / 1.085 GB, free: 51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/1.75, allocations: 87.66 kB / 1.085 GB, free: 50.91 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07202/1.822, allocations: 33.84 MB / 1.118 GB, free: 16.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.333e-06/1.822, allocations: 4 kB / 1.118 GB, free: 16.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.737e-05/1.822, allocations: 4 kB / 1.118 GB, free: 16.89 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.0005606/1.822, allocations: 415.5 kB / 1.119 GB, free: 16.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.823, allocations: 16.02 kB / 1.119 GB, free: 16.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.35e-05/1.823, allocations: 38.78 kB / 1.119 GB, free: 16.37 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/1.824, allocations: 187.6 kB / 1.119 GB, free: 16.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/1.825, allocations: 214.8 kB / 1.119 GB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/1.825, allocations: 8.188 kB / 1.119 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/1.825, allocations: 15.94 kB / 1.119 GB, free: 15.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/1.825, allocations: 199.6 kB / 1.119 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/1.825, allocations: 0 / 1.119 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/1.825, allocations: 8 kB / 1.119 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.825, allocations: 0 / 1.119 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004687/1.826, allocations: 220 kB / 1.119 GB, free: 15.5 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.001362/1.827, allocations: 0.6197 MB / 1.12 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/1.827, allocations: 166.5 kB / 1.12 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001994/1.828, allocations: 89.09 kB / 1.12 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.828, allocations: 34.56 kB / 1.12 GB, free: 14.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/1.828, allocations: 0 / 1.12 GB, free: 14.5 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.005207/1.833, allocations: 1.475 MB / 1.122 GB, free: 12.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.901e-05/1.833, allocations: 55.41 kB / 1.122 GB, free: 12.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.426e-05/1.833, allocations: 105 kB / 1.122 GB, free: 12.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/1.833, allocations: 25.7 kB / 1.122 GB, free: 12.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/1.833, allocations: 100.3 kB / 1.122 GB, free: 12.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/1.833, allocations: 63.02 kB / 1.122 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/1.833, allocations: 4 kB / 1.122 GB, free: 12.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.271e-05/1.833, allocations: 322.8 kB / 1.122 GB, free: 12.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001738/1.833, allocations: 91.89 kB / 1.122 GB, free: 12.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/1.834, allocations: 114.1 kB / 1.123 GB, free: 12 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001776/1.834, allocations: 91.92 kB / 1.123 GB, free: 11.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/1.834, allocations: 3.953 kB / 1.123 GB, free: 11.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005048/1.834, allocations: 266.2 kB / 1.123 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/1.834, allocations: 8.031 kB / 1.123 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1.834, allocations: 0 / 1.123 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001248/1.834, allocations: 24.84 kB / 1.123 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/1.835, allocations: 51.91 kB / 1.123 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002976/1.835, allocations: 0.5367 MB / 1.124 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/1.835, allocations: 12.12 kB / 1.124 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-05/1.835, allocations: 15.94 kB / 1.124 GB, free: 10.96 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.0001157/1.836, allocations: 125.7 kB / 1.124 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/1.836, allocations: 15.91 kB / 1.124 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006381/1.836, allocations: 291.1 kB / 1.124 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/1.836, allocations: 4 kB / 1.124 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.836, allocations: 3.984 kB / 1.124 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/1.836, allocations: 4 kB / 1.124 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009355/1.837, allocations: 0.6612 MB / 1.125 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.837, allocations: 0 / 1.125 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/1.838, allocations: 47.92 kB / 1.125 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.941e-05/1.838, allocations: 28.92 kB / 1.125 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/1.838, allocations: 11.98 kB / 1.125 GB, free: 9.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006898/1.838, allocations: 1.272 MB / 1.126 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.838, allocations: 0 / 1.126 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006986/1.839, allocations: 464 kB / 1.126 GB, free: 7.785 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.59e-05/1.839, allocations: 84.92 kB / 1.126 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/1.839, allocations: 8 kB / 1.126 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/1.839, allocations: 11.98 kB / 1.127 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/1.84, allocations: 15.94 kB / 1.127 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.042e-05/1.84, allocations: 19.92 kB / 1.127 GB, free: 7.629 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.143e-05/1.84, allocations: 79.28 kB / 1.127 GB, free: 7.551 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.11e-07/1.84, allocations: 12 kB / 1.127 GB, free: 7.539 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008079/1.84, allocations: 159.9 kB / 1.127 GB, free: 7.383 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.002212/1.843, allocations: 1.725 MB / 1.128 GB, free: 5.613 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005224/1.843, allocations: 215.6 kB / 1.129 GB, free: 5.402 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/1.843, allocations: 0 / 1.129 GB, free: 5.402 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/1.844, allocations: 222.6 kB / 1.129 GB, free: 5.172 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003623/1.844, allocations: 45.23 kB / 1.129 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/1.846, allocations: 1.592 MB / 1.13 GB, free: 3.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/1.846, allocations: 0.7127 MB / 1.131 GB, free: 2.723 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003768/1.846, allocations: 45.39 kB / 1.131 GB, free: 2.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/1.847, allocations: 43.41 kB / 1.131 GB, free: 2.637 MB / 426.7 MB Notification: Performance of SimCode: time 3.71e-07/1.847, allocations: 0 / 1.131 GB, free: 2.637 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.249/2.096, allocations: 14.53 MB / 1.145 GB, free: 135.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/2.096, allocations: 200 kB / 1.146 GB, free: 135.4 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/4.375, allocations: 0 / 1.146 GB, free: 135.4 MB / 426.7 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) 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