Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.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.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2",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.001669/0.001669, allocations: 181 kB / 17.01 MB, free: 5.125 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.594/1.594, allocations: 205.4 MB / 223.1 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.001198/0.001198, allocations: 88.11 kB / 271.5 MB, free: 8.379 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002511/0.0002511, allocations: 8 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2936, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.71/13, allocations: 5.796 GB / 6.163 GB, free: 110.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/13, allocations: 74.06 kB / 6.163 GB, free: 110.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 14.89/27.89, allocations: 4.557 GB / 10.72 GB, free: 99.89 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.314e-06/27.89, allocations: 0 / 10.72 GB, free: 99.89 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 4.603e-05/27.89, allocations: 11.69 kB / 10.72 GB, free: 99.89 MB / 0.6671 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.06143/27.95, allocations: 2.23 MB / 10.72 GB, free: 98.8 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 5.676e-05/27.95, allocations: 7.094 kB / 10.72 GB, free: 98.8 MB / 0.6671 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003386/27.95, allocations: 94.56 kB / 10.72 GB, free: 98.77 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009837/27.95, allocations: 95.7 kB / 10.72 GB, free: 98.73 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/27.95, allocations: 379.2 kB / 10.72 GB, free: 98.53 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/27.95, allocations: 31.62 kB / 10.72 GB, free: 98.53 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/27.95, allocations: 48.5 kB / 10.72 GB, free: 98.53 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/27.96, allocations: 0.6098 MB / 10.72 GB, free: 98.38 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/27.96, allocations: 5.719 kB / 10.72 GB, free: 98.38 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/27.96, allocations: 20.53 kB / 10.72 GB, free: 98.38 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.951e-05/27.96, allocations: 12.78 kB / 10.72 GB, free: 98.38 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001519/27.96, allocations: 0.5253 MB / 10.72 GB, free: 98.37 MB / 0.6671 GB 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.009801/27.97, allocations: 6.082 MB / 10.73 GB, free: 95.82 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/27.97, allocations: 431.9 kB / 10.73 GB, free: 95.79 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003297/27.97, allocations: 2.836 MB / 10.73 GB, free: 93.32 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/27.97, allocations: 41.14 kB / 10.73 GB, free: 93.29 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=46): time 3.376e-06/27.97, allocations: 0 / 10.73 GB, free: 93.29 MB / 0.6671 GB Notification: Performance of matching and sorting (n=54): time 0.008435/27.98, allocations: 2.016 MB / 10.74 GB, free: 92.82 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/27.98, allocations: 65.44 kB / 10.74 GB, free: 92.75 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/27.98, allocations: 270.3 kB / 10.74 GB, free: 92.65 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/27.98, allocations: 41.98 kB / 10.74 GB, free: 92.62 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/27.98, allocations: 229.3 kB / 10.74 GB, free: 92.49 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/27.98, allocations: 192.9 kB / 10.74 GB, free: 92.39 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/27.98, allocations: 10.78 kB / 10.74 GB, free: 92.39 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 8.737e-05/27.98, allocations: 356.9 kB / 10.74 GB, free: 92.08 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/27.98, allocations: 172.9 kB / 10.74 GB, free: 92.08 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/27.98, allocations: 324.5 kB / 10.74 GB, free: 91.91 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/27.98, allocations: 233.3 kB / 10.74 GB, free: 91.89 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/27.98, allocations: 0 / 10.74 GB, free: 91.89 MB / 0.6671 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001204/27.98, allocations: 0.6691 MB / 10.74 GB, free: 91.81 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/27.98, allocations: 7.344 kB / 10.74 GB, free: 91.81 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/27.98, allocations: 10.28 kB / 10.74 GB, free: 91.81 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01297/28, allocations: 0.5499 MB / 10.74 GB, free: 91.78 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/28, allocations: 144.4 kB / 10.74 GB, free: 91.78 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/28, allocations: 2.994 MB / 10.74 GB, free: 88.9 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006175/28, allocations: 46.06 kB / 10.74 GB, free: 88.89 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.119e-05/28, allocations: 26.38 kB / 10.74 GB, free: 88.89 MB / 0.6671 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000333/28, allocations: 192.4 kB / 10.74 GB, free: 88.78 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.46e-05/28, allocations: 40.5 kB / 10.74 GB, free: 88.76 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/28, allocations: 1.072 MB / 10.74 GB, free: 88.64 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/28, allocations: 11.8 kB / 10.74 GB, free: 88.64 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/28, allocations: 0 / 10.74 GB, free: 88.64 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000972/28, allocations: 1.09 MB / 10.74 GB, free: 88.24 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/28.01, allocations: 1.724 MB / 10.75 GB, free: 87.89 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/28.01, allocations: 4 kB / 10.75 GB, free: 87.88 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/28.01, allocations: 99.2 kB / 10.75 GB, free: 87.88 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003697/28.01, allocations: 394.9 kB / 10.75 GB, free: 87.86 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.62e-05/28.01, allocations: 15.36 kB / 10.75 GB, free: 87.86 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005334/28.01, allocations: 1.155 MB / 10.75 GB, free: 86.81 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/28.01, allocations: 0 / 10.75 GB, free: 86.81 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/28.01, allocations: 1.126 MB / 10.75 GB, free: 86.6 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/28.01, allocations: 143.7 kB / 10.75 GB, free: 86.48 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.208e-05/28.01, allocations: 11.12 kB / 10.75 GB, free: 86.48 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/28.01, allocations: 37.77 kB / 10.75 GB, free: 86.47 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/28.01, allocations: 30.75 kB / 10.75 GB, free: 86.47 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/28.01, allocations: 23 kB / 10.75 GB, free: 86.47 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.0002554/28.01, allocations: 249.3 kB / 10.75 GB, free: 86.39 MB / 0.6671 GB Notification: Performance of sort global known variables: time 1.4e-07/28.01, allocations: 0 / 10.75 GB, free: 86.39 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.02061/28.03, allocations: 1.117 MB / 10.75 GB, free: 86.21 MB / 0.6671 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.1458/28.18, allocations: 25.25 MB / 10.77 GB, free: 73.33 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.001544/28.18, allocations: 0.6922 MB / 10.78 GB, free: 73.2 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/28.18, allocations: 3.938 kB / 10.78 GB, free: 73.2 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/28.18, allocations: 372.1 kB / 10.78 GB, free: 73.19 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001306/28.18, allocations: 247.8 kB / 10.78 GB, free: 73.17 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/28.21, allocations: 6.618 MB / 10.78 GB, free: 68.82 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/28.21, allocations: 0.8796 MB / 10.78 GB, free: 68.11 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.0007709/28.21, allocations: 238.9 kB / 10.78 GB, free: 68.08 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/28.21, allocations: 199.5 kB / 10.78 GB, free: 68.08 MB / 0.6671 GB Notification: Performance of SimCode: time 1.512e-06/28.21, allocations: 0 / 10.78 GB, free: 68.08 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08061/28.29, allocations: 49.15 MB / 10.83 GB, free: 55.3 MB / 0.6671 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/28.29, allocations: 197 kB / 10.83 GB, free: 55.05 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/32.16, allocations: 0 / 10.83 GB, free: 55.05 MB / 0.6671 GB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat