Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",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.001103/0.001103, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.663/1.663, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.001082/0.001082, allocations: 78.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.688e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08925, allocations: 47.58 MB / 370.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.093/1.182, allocations: 451.4 MB / 0.8022 GB, free: 54.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002072/1.182, allocations: 72.98 kB / 0.8023 GB, free: 54.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05573/1.238, allocations: 29.81 MB / 0.8314 GB, free: 26.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.392e-06/1.238, allocations: 0 / 0.8314 GB, free: 26.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/1.238, allocations: 0 / 0.8314 GB, free: 26.56 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003807/1.239, allocations: 403.3 kB / 0.8318 GB, free: 26.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.239, allocations: 12.03 kB / 0.8318 GB, free: 26.11 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/1.239, allocations: 38.52 kB / 0.8318 GB, free: 26.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/1.24, allocations: 183.7 kB / 0.832 GB, free: 25.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/1.241, allocations: 207.2 kB / 0.8322 GB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/1.241, allocations: 8 kB / 0.8322 GB, free: 25.64 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/1.241, allocations: 11.94 kB / 0.8322 GB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/1.241, allocations: 216.9 kB / 0.8324 GB, free: 25.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/1.241, allocations: 0 / 0.8324 GB, free: 25.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/1.241, allocations: 4 kB / 0.8324 GB, free: 25.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/1.241, allocations: 4 kB / 0.8324 GB, free: 25.39 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/1.241, allocations: 147.9 kB / 0.8326 GB, free: 25.25 MB / 426.7 MB 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.0008329/1.242, allocations: 0.5717 MB / 0.8331 GB, free: 24.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002281/1.242, allocations: 134.5 kB / 0.8333 GB, free: 24.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.264e-05/1.242, allocations: 65.86 kB / 0.8333 GB, free: 24.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/1.242, allocations: 0 / 0.8333 GB, free: 24.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/1.242, allocations: 38.55 kB / 0.8334 GB, free: 24.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/1.242, allocations: 4 kB / 0.8334 GB, free: 24.36 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.004242/1.247, allocations: 1.098 MB / 0.8344 GB, free: 23.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/1.247, allocations: 59.36 kB / 0.8345 GB, free: 23.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.881e-05/1.247, allocations: 101 kB / 0.8346 GB, free: 23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.247, allocations: 33.7 kB / 0.8346 GB, free: 22.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/1.247, allocations: 91.89 kB / 0.8347 GB, free: 22.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/1.247, allocations: 71 kB / 0.8348 GB, free: 22.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/1.247, allocations: 4 kB / 0.8348 GB, free: 22.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.975e-05/1.247, allocations: 318.8 kB / 0.8351 GB, free: 22.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.812e-05/1.247, allocations: 67.98 kB / 0.8352 GB, free: 22.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/1.247, allocations: 91.61 kB / 0.8352 GB, free: 22.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/1.247, allocations: 72.84 kB / 0.8353 GB, free: 22.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.247, allocations: 11.98 kB / 0.8353 GB, free: 22.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003495/1.248, allocations: 244.7 kB / 0.8356 GB, free: 21.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/1.248, allocations: 4 kB / 0.8356 GB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.248, allocations: 0 / 0.8356 GB, free: 21.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/1.248, allocations: 52.83 kB / 0.8356 GB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002798/1.248, allocations: 55.91 kB / 0.8357 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002871/1.249, allocations: 0.5641 MB / 0.8362 GB, free: 21.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1.249, allocations: 11.97 kB / 0.8362 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/1.249, allocations: 27.92 kB / 0.8363 GB, free: 21.24 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 () * 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 7.8e-05/1.249, allocations: 120.9 kB / 0.8364 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/1.249, allocations: 15.86 kB / 0.8364 GB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/1.25, allocations: 339 kB / 0.8367 GB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/1.25, allocations: 8 kB / 0.8367 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/1.25, allocations: 0 / 0.8367 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/1.25, allocations: 0 / 0.8367 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006856/1.25, allocations: 0.6006 MB / 0.8373 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/1.25, allocations: 0 / 0.8373 GB, free: 20.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/1.251, allocations: 59.95 kB / 0.8374 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.997e-05/1.251, allocations: 24.94 kB / 0.8374 GB, free: 20 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.72e-05/1.251, allocations: 15.98 kB / 0.8374 GB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005468/1.251, allocations: 1.264 MB / 0.8386 GB, free: 18.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.251, allocations: 4.031 kB / 0.8386 GB, free: 18.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/1.252, allocations: 460 kB / 0.8391 GB, free: 18.08 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/1.252, allocations: 89 kB / 0.8392 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/1.252, allocations: 0 / 0.8392 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/1.252, allocations: 11.91 kB / 0.8392 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/1.252, allocations: 27.91 kB / 0.8392 GB, free: 17.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.455e-05/1.252, allocations: 27.98 kB / 0.8392 GB, free: 17.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.021e-05/1.252, allocations: 95.64 kB / 0.8393 GB, free: 17.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.252, allocations: 0 / 0.8393 GB, free: 17.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004708/1.253, allocations: 119.9 kB / 0.8394 GB, free: 17.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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.001279/1.254, allocations: 1.615 MB / 0.841 GB, free: 16.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003711/1.254, allocations: 195.8 kB / 0.8412 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/1.254, allocations: 0 / 0.8412 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/1.255, allocations: 214.9 kB / 0.8414 GB, free: 15.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/1.255, allocations: 48.66 kB / 0.8414 GB, free: 15.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/1.256, allocations: 399.1 kB / 0.8418 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/1.256, allocations: 0.7088 MB / 0.8425 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003928/1.256, allocations: 77.41 kB / 0.8426 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/1.256, allocations: 67.39 kB / 0.8427 GB, free: 14.26 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/1.256, allocations: 0 / 0.8427 GB, free: 14.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2108/1.467, allocations: 15.71 MB / 0.858 GB, free: 136.5 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/1.467, allocations: 172 kB / 0.8582 GB, free: 136.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/3.458, allocations: 2.438 kB / 0.8582 GB, free: 136.3 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat