Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",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.0009729/0.0009729, allocations: 171.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.463/1.463, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0008528/0.0008529, allocations: 90.62 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.564e-05, allocations: 4 kB / 322.5 MB, free: 17.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09544, allocations: 47.58 MB / 370.1 MB, free: 1.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.63/12.73, allocations: 5.796 GB / 6.157 GB, free: 71.11 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/12.73, allocations: 74.2 kB / 6.157 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.74/23.47, allocations: 3.537 GB / 9.694 GB, free: 109 MB / 0.6203 GB Notification: Performance of FrontEnd: time 1.343e-06/23.47, allocations: 0.7656 kB / 9.694 GB, free: 109 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 2.021e-05/23.47, allocations: 6.906 kB / 9.694 GB, free: 109 MB / 0.6203 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.04724/23.52, allocations: 1.678 MB / 9.696 GB, free: 108.2 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/23.52, allocations: 10.56 kB / 9.696 GB, free: 108.2 MB / 0.6203 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.525e-05/23.52, allocations: 69.94 kB / 9.696 GB, free: 108.1 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005713/23.52, allocations: 65.89 kB / 9.696 GB, free: 108.1 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/23.52, allocations: 311.8 kB / 9.696 GB, free: 107.9 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/23.52, allocations: 31.89 kB / 9.696 GB, free: 107.9 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.901e-05/23.52, allocations: 29.88 kB / 9.696 GB, free: 107.9 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/23.52, allocations: 463.3 kB / 9.697 GB, free: 107.8 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/23.52, allocations: 0 / 9.697 GB, free: 107.8 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/23.52, allocations: 13.75 kB / 9.697 GB, free: 107.8 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/23.52, allocations: 9.688 kB / 9.697 GB, free: 107.8 MB / 0.6203 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006252/23.52, allocations: 383.7 kB / 9.697 GB, free: 107.8 MB / 0.6203 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.005637/23.53, allocations: 5.226 MB / 9.702 GB, free: 105.8 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005931/23.53, allocations: 290.6 kB / 9.702 GB, free: 105.7 MB / 0.6203 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/23.53, allocations: 131.6 kB / 9.703 GB, free: 105.7 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002114/23.53, allocations: 2.059 MB / 9.705 GB, free: 103.9 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/23.53, allocations: 38.47 kB / 9.705 GB, free: 103.9 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=30): time 3.827e-06/23.53, allocations: 0 / 9.705 GB, free: 103.9 MB / 0.6203 GB Notification: Performance of matching and sorting (n=34): time 0.004536/23.54, allocations: 1.14 MB / 9.706 GB, free: 103.5 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/23.54, allocations: 55.28 kB / 9.706 GB, free: 103.5 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002504/23.54, allocations: 229.6 kB / 9.706 GB, free: 103.4 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 2.685e-05/23.54, allocations: 34.17 kB / 9.706 GB, free: 103.3 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 9.068e-05/23.54, allocations: 182.1 kB / 9.706 GB, free: 103.2 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 7.533e-05/23.54, allocations: 125.3 kB / 9.706 GB, free: 103.2 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.695e-05/23.54, allocations: 9.781 kB / 9.706 GB, free: 103.2 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 8.231e-05/23.54, allocations: 341.7 kB / 9.707 GB, free: 102.9 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/23.54, allocations: 104.6 kB / 9.707 GB, free: 102.9 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/23.54, allocations: 224 kB / 9.707 GB, free: 102.7 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/23.54, allocations: 139.4 kB / 9.707 GB, free: 102.7 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/23.54, allocations: 3.938 kB / 9.707 GB, free: 102.7 MB / 0.6203 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007082/23.54, allocations: 458.2 kB / 9.708 GB, free: 102.6 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/23.54, allocations: 7.75 kB / 9.708 GB, free: 102.6 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/23.54, allocations: 3.031 kB / 9.708 GB, free: 102.6 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006799/23.54, allocations: 299.5 kB / 9.708 GB, free: 102.6 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003672/23.54, allocations: 89.28 kB / 9.708 GB, free: 102.6 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/23.55, allocations: 1.837 MB / 9.71 GB, free: 100.8 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003498/23.55, allocations: 33.95 kB / 9.71 GB, free: 100.8 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/23.55, allocations: 20.12 kB / 9.71 GB, free: 100.8 MB / 0.6203 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 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 prepare postOptimizeDAE: time 0.0001203/23.55, allocations: 124.3 kB / 9.71 GB, free: 100.7 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/23.55, allocations: 30.22 kB / 9.71 GB, free: 100.7 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/23.55, allocations: 0.7015 MB / 9.711 GB, free: 100.6 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/23.55, allocations: 7.172 kB / 9.711 GB, free: 100.6 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/23.55, allocations: 3.656 kB / 9.711 GB, free: 100.6 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000716/23.55, allocations: 0.8497 MB / 9.711 GB, free: 100.1 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/23.55, allocations: 1.187 MB / 9.713 GB, free: 99.78 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/23.55, allocations: 3.953 kB / 9.713 GB, free: 99.77 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/23.55, allocations: 64.7 kB / 9.713 GB, free: 99.77 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/23.55, allocations: 192.8 kB / 9.713 GB, free: 99.75 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/23.55, allocations: 11.81 kB / 9.713 GB, free: 99.75 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002479/23.55, allocations: 0.5715 MB / 9.713 GB, free: 99.23 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/23.55, allocations: 0 / 9.713 GB, free: 99.23 MB / 0.6203 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007581/23.55, allocations: 0.7296 MB / 9.714 GB, free: 99.05 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/23.55, allocations: 123.1 kB / 9.714 GB, free: 98.94 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/23.55, allocations: 8.531 kB / 9.714 GB, free: 98.94 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/23.55, allocations: 20.23 kB / 9.714 GB, free: 98.93 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.329e-05/23.55, allocations: 26.12 kB / 9.714 GB, free: 98.93 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/23.55, allocations: 18.91 kB / 9.714 GB, free: 98.93 MB / 0.6203 GB Notification: Performance of sorting global known variables: time 0.0002214/23.55, allocations: 214.2 kB / 9.715 GB, free: 98.85 MB / 0.6203 GB Notification: Performance of sort global known variables: time 1.6e-07/23.55, allocations: 3.938 kB / 9.715 GB, free: 98.85 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.01655/23.57, allocations: 0.8536 MB / 9.715 GB, free: 98.71 MB / 0.6203 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.1211/23.69, allocations: 20.23 MB / 9.735 GB, free: 88.2 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.001204/23.69, allocations: 489.8 kB / 9.736 GB, free: 88.06 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/23.69, allocations: 0 / 9.736 GB, free: 88.06 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/23.69, allocations: 220.4 kB / 9.736 GB, free: 88.05 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/23.69, allocations: 185.2 kB / 9.736 GB, free: 88.03 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01767/23.71, allocations: 1.111 MB / 9.737 GB, free: 87.59 MB / 0.6203 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/23.71, allocations: 0.8158 MB / 9.738 GB, free: 86.88 MB / 0.6203 GB Notification: Performance of simCode: alias equations: time 0.000455/23.71, allocations: 187.8 kB / 9.738 GB, free: 86.86 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/23.71, allocations: 134.8 kB / 9.738 GB, free: 86.85 MB / 0.6203 GB Notification: Performance of SimCode: time 1.042e-06/23.71, allocations: 0 / 9.738 GB, free: 86.85 MB / 0.6203 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06666/23.78, allocations: 40.22 MB / 9.777 GB, free: 61.02 MB / 0.6203 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/23.78, allocations: 172.1 kB / 9.778 GB, free: 60.79 MB / 0.6203 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.44/27.22, allocations: 0 / 9.778 GB, free: 60.79 MB / 0.6203 GB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat