Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_cpp_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.002145/0.002144, allocations: 178.9 kB / 13.65 MB, free: 1.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001125/0.001124, allocations: 90.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.156e-05/3.17e-05, allocations: 0 / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1109, allocations: 47.57 MB / 369.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.4/17.51, allocations: 5.796 GB / 6.156 GB, free: 66.09 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000292/17.51, allocations: 71.34 kB / 6.157 GB, free: 66.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 21.39/38.9, allocations: 4.504 GB / 10.66 GB, free: 10.22 MB / 0.6513 GB Notification: Performance of FrontEnd: time 2.314e-06/38.9, allocations: 0 / 10.66 GB, free: 10.22 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 3.601e-05/38.9, allocations: 8 kB / 10.66 GB, free: 10.21 MB / 0.6513 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.06739/38.96, allocations: 2.196 MB / 10.66 GB, free: 8.297 MB / 0.6513 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/38.96, allocations: 8.031 kB / 10.66 GB, free: 8.289 MB / 0.6513 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001679/38.96, allocations: 81.28 kB / 10.66 GB, free: 8.227 MB / 0.6513 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/38.96, allocations: 98.19 kB / 10.66 GB, free: 8.133 MB / 0.6513 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/38.97, allocations: 386 kB / 10.66 GB, free: 7.801 MB / 0.6513 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/38.97, allocations: 38.38 kB / 10.66 GB, free: 7.777 MB / 0.6513 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/38.97, allocations: 41.56 kB / 10.66 GB, free: 7.75 MB / 0.6513 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/38.97, allocations: 0.6157 MB / 10.66 GB, free: 7.266 MB / 0.6513 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/38.97, allocations: 4 kB / 10.66 GB, free: 7.262 MB / 0.6513 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/38.97, allocations: 25.39 kB / 10.66 GB, free: 7.254 MB / 0.6513 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/38.97, allocations: 12 kB / 10.66 GB, free: 7.242 MB / 0.6513 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001622/38.97, allocations: 0.5242 MB / 10.66 GB, free: 6.883 MB / 0.6513 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.01417/38.98, allocations: 6.08 MB / 10.67 GB, free: 1.051 MB / 0.6513 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001533/38.99, allocations: 432.1 kB / 10.67 GB, free: 0.7617 MB / 0.6513 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005012/38.99, allocations: 208.8 kB / 10.67 GB, free: 0.6328 MB / 0.6513 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5127/39.5, allocations: 2.822 MB / 10.67 GB, free: 106.2 MB / 0.6513 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.565e-05/39.5, allocations: 42.86 kB / 10.67 GB, free: 106.2 MB / 0.6513 GB Notification: Performance of pre-optimization done (n=46): time 3.687e-06/39.5, allocations: 0 / 10.67 GB, free: 106.2 MB / 0.6513 GB Notification: Performance of matching and sorting (n=54): time 0.01377/39.51, allocations: 1.817 MB / 10.68 GB, free: 105.9 MB / 0.6513 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.009e-05/39.51, allocations: 59.47 kB / 10.68 GB, free: 105.8 MB / 0.6513 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/39.51, allocations: 271.8 kB / 10.68 GB, free: 105.7 MB / 0.6513 GB Notification: Performance of collectPreVariables (initialization): time 6.809e-05/39.51, allocations: 37.39 kB / 10.68 GB, free: 105.7 MB / 0.6513 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/39.51, allocations: 287.3 kB / 10.68 GB, free: 105.5 MB / 0.6513 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/39.51, allocations: 197.2 kB / 10.68 GB, free: 105.4 MB / 0.6513 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/39.51, allocations: 12.28 kB / 10.68 GB, free: 105.4 MB / 0.6513 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/39.51, allocations: 336.7 kB / 10.68 GB, free: 105.1 MB / 0.6513 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004553/39.51, allocations: 167.5 kB / 10.68 GB, free: 105.1 MB / 0.6513 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005274/39.51, allocations: 319.7 kB / 10.68 GB, free: 104.9 MB / 0.6513 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005595/39.52, allocations: 229.2 kB / 10.68 GB, free: 104.9 MB / 0.6513 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/39.52, allocations: 0 / 10.68 GB, free: 104.9 MB / 0.6513 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002019/39.52, allocations: 0.6422 MB / 10.68 GB, free: 104.8 MB / 0.6513 GB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/39.52, allocations: 7.562 kB / 10.68 GB, free: 104.8 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/39.52, allocations: 5.938 kB / 10.68 GB, free: 104.8 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02444/39.54, allocations: 0.5522 MB / 10.68 GB, free: 104.8 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/39.54, allocations: 141.5 kB / 10.68 GB, free: 104.8 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002211/39.55, allocations: 2.992 MB / 10.68 GB, free: 101.9 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/39.55, allocations: 49.17 kB / 10.68 GB, free: 101.9 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.9e-05/39.55, allocations: 25.61 kB / 10.68 GB, free: 101.9 MB / 0.6513 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.0002234/39.55, allocations: 147.5 kB / 10.68 GB, free: 101.8 MB / 0.6513 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/39.55, allocations: 40.19 kB / 10.68 GB, free: 101.8 MB / 0.6513 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/39.55, allocations: 1.05 MB / 10.68 GB, free: 101.7 MB / 0.6513 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.207e-05/39.55, allocations: 15.53 kB / 10.68 GB, free: 101.7 MB / 0.6513 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/39.55, allocations: 0 / 10.68 GB, free: 101.7 MB / 0.6513 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001585/39.55, allocations: 1.075 MB / 10.68 GB, free: 101.3 MB / 0.6513 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003311/39.55, allocations: 1.712 MB / 10.69 GB, free: 100.9 MB / 0.6513 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/39.55, allocations: 6.297 kB / 10.69 GB, free: 100.9 MB / 0.6513 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/39.55, allocations: 101 kB / 10.69 GB, free: 100.9 MB / 0.6513 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006395/39.56, allocations: 377 kB / 10.69 GB, free: 100.9 MB / 0.6513 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.133e-05/39.56, allocations: 17.44 kB / 10.69 GB, free: 100.9 MB / 0.6513 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007253/39.56, allocations: 1.145 MB / 10.69 GB, free: 99.89 MB / 0.6513 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/39.56, allocations: 2.625 kB / 10.69 GB, free: 99.89 MB / 0.6513 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002239/39.56, allocations: 1.112 MB / 10.69 GB, free: 99.68 MB / 0.6513 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/39.56, allocations: 134.4 kB / 10.69 GB, free: 99.57 MB / 0.6513 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001076/39.56, allocations: 15.72 kB / 10.69 GB, free: 99.57 MB / 0.6513 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/39.57, allocations: 30.25 kB / 10.69 GB, free: 99.56 MB / 0.6513 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.174e-05/39.57, allocations: 42.03 kB / 10.69 GB, free: 99.56 MB / 0.6513 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.586e-05/39.57, allocations: 20.56 kB / 10.69 GB, free: 99.56 MB / 0.6513 GB Notification: Performance of sorting global known variables: time 0.0003934/39.57, allocations: 245.6 kB / 10.69 GB, free: 99.48 MB / 0.6513 GB Notification: Performance of sort global known variables: time 4.41e-07/39.57, allocations: 0 / 10.69 GB, free: 99.48 MB / 0.6513 GB Notification: Performance of remove unused functions: time 0.02347/39.59, allocations: 1.116 MB / 10.69 GB, free: 99.47 MB / 0.6513 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.3161/39.91, allocations: 25.24 MB / 10.71 GB, free: 87.06 MB / 0.6513 GB Notification: Performance of simCode: created initialization part: time 0.002251/39.91, allocations: 0.7017 MB / 10.72 GB, free: 86.93 MB / 0.6513 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/39.91, allocations: 2.312 kB / 10.72 GB, free: 86.93 MB / 0.6513 GB Notification: Performance of simCode: created simulation system equations: time 0.001116/39.91, allocations: 365.4 kB / 10.72 GB, free: 86.93 MB / 0.6513 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/39.91, allocations: 252.7 kB / 10.72 GB, free: 86.91 MB / 0.6513 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02112/39.93, allocations: 1.673 MB / 10.72 GB, free: 86.57 MB / 0.6513 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/39.93, allocations: 0.8755 MB / 10.72 GB, free: 85.87 MB / 0.6513 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/39.93, allocations: 205.9 kB / 10.72 GB, free: 85.86 MB / 0.6513 GB Notification: Performance of SimCode: time 1.182e-06/39.93, allocations: 0 / 10.72 GB, free: 85.86 MB / 0.6513 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.823/43.76, allocations: 48.42 MB / 10.77 GB, free: 81.98 MB / 0.6513 GB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat