Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_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.001294/0.001294, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.914/1.914, allocations: 205.2 MB / 218.9 MB, free: 9.137 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.001035/0.001034, allocations: 93.17 kB / 267.1 MB, free: 9.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4737/0.4737, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.965e-05/3.967e-05, allocations: 7.984 kB / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1541, allocations: 58.84 MB / 484.2 MB, free: 13.17 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.299/2.453, allocations: 0.727 GB / 1.2 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/2.453, allocations: 76.7 kB / 1.2 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.06881/2.522, allocations: 33.46 MB / 1.233 GB, free: 77.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.834e-06/2.522, allocations: 3.938 kB / 1.233 GB, free: 77.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.472e-05/2.522, allocations: 0 / 1.233 GB, free: 77.29 MB / 0.5105 GB 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.0005064/2.523, allocations: 417.2 kB / 1.233 GB, free: 76.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/2.523, allocations: 8.031 kB / 1.233 GB, free: 76.83 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/2.523, allocations: 46.55 kB / 1.233 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/2.525, allocations: 173.9 kB / 1.233 GB, free: 76.61 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/2.525, allocations: 210.9 kB / 1.233 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/2.525, allocations: 8.188 kB / 1.233 GB, free: 76.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/2.525, allocations: 8 kB / 1.233 GB, free: 76.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/2.525, allocations: 191.1 kB / 1.234 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/2.525, allocations: 3.953 kB / 1.234 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.026e-05/2.525, allocations: 4 kB / 1.234 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/2.525, allocations: 4 kB / 1.234 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/2.526, allocations: 200.4 kB / 1.234 GB, free: 75.95 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.001385/2.527, allocations: 0.6242 MB / 1.234 GB, free: 75.28 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002486/2.527, allocations: 150.6 kB / 1.235 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/2.528, allocations: 76.84 kB / 1.235 GB, free: 75.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002447/2.528, allocations: 93.09 kB / 1.235 GB, free: 74.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/2.528, allocations: 34.5 kB / 1.235 GB, free: 74.89 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/2.528, allocations: 0 / 1.235 GB, free: 74.89 MB / 0.5105 GB 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.004429/2.532, allocations: 1.209 MB / 1.236 GB, free: 73.59 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/2.532, allocations: 63.36 kB / 1.236 GB, free: 73.51 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/2.532, allocations: 105 kB / 1.236 GB, free: 73.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/2.532, allocations: 25.7 kB / 1.236 GB, free: 73.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/2.533, allocations: 100.3 kB / 1.236 GB, free: 73.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/2.533, allocations: 63.09 kB / 1.236 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.568e-05/2.533, allocations: 4 kB / 1.236 GB, free: 73.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.286e-05/2.533, allocations: 322.8 kB / 1.237 GB, free: 72.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/2.533, allocations: 72 kB / 1.237 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/2.533, allocations: 108.8 kB / 1.237 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/2.533, allocations: 79.91 kB / 1.237 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/2.533, allocations: 0 / 1.237 GB, free: 72.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004009/2.534, allocations: 254 kB / 1.237 GB, free: 72.36 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/2.534, allocations: 8.078 kB / 1.237 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/2.534, allocations: 8 kB / 1.237 GB, free: 72.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/2.534, allocations: 20.86 kB / 1.237 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003408/2.534, allocations: 55.89 kB / 1.237 GB, free: 72.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003178/2.534, allocations: 0.537 MB / 1.238 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/2.535, allocations: 16.08 kB / 1.238 GB, free: 71.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/2.535, allocations: 8.156 kB / 1.238 GB, free: 71.68 MB / 0.5105 GB 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 () * 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 9.983e-05/2.535, allocations: 120.9 kB / 1.238 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.664e-05/2.535, allocations: 15.84 kB / 1.238 GB, free: 71.54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005325/2.535, allocations: 285 kB / 1.238 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/2.535, allocations: 3.953 kB / 1.238 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/2.535, allocations: 0 / 1.238 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/2.535, allocations: 0 / 1.238 GB, free: 71.25 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008695/2.536, allocations: 0.6462 MB / 1.239 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/2.536, allocations: 0 / 1.239 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/2.537, allocations: 47.95 kB / 1.239 GB, free: 70.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.869e-05/2.537, allocations: 24.84 kB / 1.239 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/2.537, allocations: 4.094 kB / 1.239 GB, free: 70.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006644/2.537, allocations: 1.264 MB / 1.24 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/2.537, allocations: 4.156 kB / 1.24 GB, free: 69.06 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/2.538, allocations: 439.8 kB / 1.241 GB, free: 68.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 2.961e-05/2.538, allocations: 96.91 kB / 1.241 GB, free: 68.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/2.538, allocations: 8 kB / 1.241 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/2.538, allocations: 4 kB / 1.241 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/2.538, allocations: 23.95 kB / 1.241 GB, free: 68.44 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.73e-05/2.538, allocations: 11.98 kB / 1.241 GB, free: 68.43 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.604e-05/2.538, allocations: 83.28 kB / 1.241 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.042e-06/2.538, allocations: 4 kB / 1.241 GB, free: 68.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006553/2.539, allocations: 163.9 kB / 1.241 GB, free: 68.18 MB / 0.5105 GB 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 () * 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.002245/2.541, allocations: 1.694 MB / 1.243 GB, free: 66.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005089/2.542, allocations: 207.6 kB / 1.243 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/2.542, allocations: 0 / 1.243 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003084/2.542, allocations: 210.6 kB / 1.243 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/2.543, allocations: 49.14 kB / 1.243 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009412/2.544, allocations: 410.8 kB / 1.243 GB, free: 65.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/2.544, allocations: 0.7087 MB / 1.244 GB, free: 64.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003553/2.544, allocations: 49.17 kB / 1.244 GB, free: 64.75 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/2.544, allocations: 43.41 kB / 1.244 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of SimCode: time 6.41e-07/2.544, allocations: 0 / 1.244 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02842/2.573, allocations: 16.04 MB / 1.26 GB, free: 48.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/2.573, allocations: 176.7 kB / 1.26 GB, free: 48.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/4.691, allocations: 3.938 kB / 1.26 GB, free: 48.47 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2Mix.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat