Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002129/0.002129, allocations: 196.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009916/0.0009916, allocations: 87.56 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.649e-05/2.669e-05, allocations: 0 / 350.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1319, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.04/15.17, allocations: 5.751 GB / 6.144 GB, free: 15.34 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/15.17, allocations: 71.95 kB / 6.144 GB, free: 15.27 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 14.39/29.56, allocations: 3.746 GB / 9.89 GB, free: 85.09 MB / 0.6671 GB Notification: Performance of FrontEnd: time 1.383e-06/29.56, allocations: 0 / 9.89 GB, free: 85.09 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 5.027e-05/29.56, allocations: 8.5 kB / 9.89 GB, free: 85.08 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.08057/29.64, allocations: 2.201 MB / 9.892 GB, free: 83.36 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/29.64, allocations: 12.03 kB / 9.892 GB, free: 83.35 MB / 0.6671 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001488/29.64, allocations: 83.58 kB / 9.892 GB, free: 83.3 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008821/29.64, allocations: 97.94 kB / 9.892 GB, free: 83.22 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005795/29.64, allocations: 378.4 kB / 9.893 GB, free: 82.95 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/29.64, allocations: 34.62 kB / 9.893 GB, free: 82.93 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/29.64, allocations: 47.69 kB / 9.893 GB, free: 82.89 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/29.64, allocations: 0.6153 MB / 9.893 GB, free: 82.49 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/29.64, allocations: 0 / 9.893 GB, free: 82.49 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.991e-05/29.64, allocations: 20.38 kB / 9.893 GB, free: 82.49 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/29.64, allocations: 17.06 kB / 9.893 GB, free: 82.48 MB / 0.6671 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008712/29.64, allocations: 0.5321 MB / 9.894 GB, free: 82.18 MB / 0.6671 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.006136/29.65, allocations: 6.073 MB / 9.9 GB, free: 77.25 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008403/29.65, allocations: 427.3 kB / 9.9 GB, free: 77.01 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/29.65, allocations: 204.8 kB / 9.9 GB, free: 76.89 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002792/29.65, allocations: 2.834 MB / 9.903 GB, free: 73.86 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/29.65, allocations: 38.06 kB / 9.903 GB, free: 73.81 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=46): time 3.226e-06/29.65, allocations: 4 kB / 9.903 GB, free: 73.81 MB / 0.6671 GB Notification: Performance of matching and sorting (n=54): time 0.00828/29.66, allocations: 1.815 MB / 9.905 GB, free: 72.58 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/29.66, allocations: 60.97 kB / 9.905 GB, free: 72.51 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/29.66, allocations: 273.2 kB / 9.905 GB, free: 72.3 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 3.795e-05/29.66, allocations: 36.2 kB / 9.905 GB, free: 72.27 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/29.66, allocations: 237.9 kB / 9.906 GB, free: 72.11 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/29.66, allocations: 188.1 kB / 9.906 GB, free: 71.99 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-05/29.66, allocations: 14.69 kB / 9.906 GB, free: 71.98 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 0.0001053/29.66, allocations: 348.7 kB / 9.906 GB, free: 71.66 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002583/29.66, allocations: 173.9 kB / 9.906 GB, free: 71.57 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/29.66, allocations: 315.8 kB / 9.907 GB, free: 71.29 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003252/29.66, allocations: 226.2 kB / 9.907 GB, free: 71.17 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/29.66, allocations: 4 kB / 9.907 GB, free: 71.16 MB / 0.6671 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001109/29.66, allocations: 0.6568 MB / 9.907 GB, free: 70.75 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/29.66, allocations: 8 kB / 9.907 GB, free: 70.74 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/29.66, allocations: 4 kB / 9.907 GB, free: 70.73 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01354/29.68, allocations: 0.5584 MB / 9.908 GB, free: 70.43 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/29.68, allocations: 138.6 kB / 9.908 GB, free: 70.32 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/29.68, allocations: 2.986 MB / 9.911 GB, free: 67.3 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000693/29.68, allocations: 54.03 kB / 9.911 GB, free: 67.27 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.883e-05/29.68, allocations: 27.05 kB / 9.911 GB, free: 67.25 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 () * 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.000205/29.68, allocations: 150.7 kB / 9.911 GB, free: 67.12 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/29.68, allocations: 39.53 kB / 9.911 GB, free: 67.08 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/29.68, allocations: 1.05 MB / 9.912 GB, free: 66.48 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/29.68, allocations: 11.91 kB / 9.912 GB, free: 66.48 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.024e-06/29.68, allocations: 0 / 9.912 GB, free: 66.48 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001033/29.68, allocations: 1.074 MB / 9.913 GB, free: 65.68 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002154/29.69, allocations: 1.716 MB / 9.915 GB, free: 64.7 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/29.69, allocations: 0 / 9.915 GB, free: 64.7 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003711/29.69, allocations: 104.6 kB / 9.915 GB, free: 64.62 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003341/29.69, allocations: 378.1 kB / 9.916 GB, free: 64.45 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.049e-05/29.69, allocations: 16.89 kB / 9.916 GB, free: 64.44 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00046/29.69, allocations: 1.154 MB / 9.917 GB, free: 63.32 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/29.69, allocations: 1.484 kB / 9.917 GB, free: 63.32 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/29.69, allocations: 1.11 MB / 9.918 GB, free: 62.61 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/29.69, allocations: 136.5 kB / 9.918 GB, free: 62.47 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/29.69, allocations: 16.69 kB / 9.918 GB, free: 62.46 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003002/29.69, allocations: 36.48 kB / 9.918 GB, free: 62.44 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/29.69, allocations: 38.08 kB / 9.918 GB, free: 62.42 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.449e-05/29.69, allocations: 22.27 kB / 9.918 GB, free: 62.41 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.0002256/29.69, allocations: 246.6 kB / 9.918 GB, free: 62.23 MB / 0.6671 GB Notification: Performance of sort global known variables: time 2e-07/29.69, allocations: 0 / 9.918 GB, free: 62.23 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.0203/29.71, allocations: 1.127 MB / 9.919 GB, free: 61.31 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 () * 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.1623/29.87, allocations: 25.24 MB / 9.944 GB, free: 37.15 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.001672/29.88, allocations: 0.689 MB / 9.945 GB, free: 36.65 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/29.88, allocations: 8 kB / 9.945 GB, free: 36.64 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.0005833/29.88, allocations: 374.5 kB / 9.945 GB, free: 36.43 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/29.88, allocations: 250.5 kB / 9.945 GB, free: 36.3 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/29.9, allocations: 1.646 MB / 9.947 GB, free: 35.02 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/29.9, allocations: 0.8752 MB / 9.948 GB, free: 34.2 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.000542/29.9, allocations: 228.2 kB / 9.948 GB, free: 34.05 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/29.9, allocations: 199.3 kB / 9.948 GB, free: 34.01 MB / 0.6671 GB Notification: Performance of SimCode: time 1.603e-06/29.9, allocations: 0 / 9.948 GB, free: 34.01 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08748/29.99, allocations: 51.45 MB / 9.998 GB, free: 0.9023 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/29.99, allocations: 169.7 kB / 9.999 GB, free: 0.6758 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.259/34.25, allocations: 0 / 9.999 GB, free: 0.6758 MB / 0.6828 GB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat