Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.3 MB / 235.5 MB, free: 2.953 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.0009841, allocations: 89.92 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.926e-05, allocations: 4 kB / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1609, allocations: 50.41 MB / 394.3 MB, free: 1.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.23/17.39, allocations: 5.751 GB / 6.136 GB, free: 63.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/17.39, allocations: 71.83 kB / 6.136 GB, free: 63.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.37/27.76, allocations: 2.908 GB / 9.044 GB, free: 55.84 MB / 0.6359 GB Notification: Performance of FrontEnd: time 1.984e-06/27.76, allocations: 4 kB / 9.044 GB, free: 55.84 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 2.337e-05/27.76, allocations: 8 kB / 9.044 GB, free: 55.83 MB / 0.6359 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.04425/27.8, allocations: 1.673 MB / 9.046 GB, free: 54.36 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001182/27.8, allocations: 8.031 kB / 9.046 GB, free: 54.35 MB / 0.6359 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/27.8, allocations: 71.03 kB / 9.046 GB, free: 54.29 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008352/27.8, allocations: 66.97 kB / 9.046 GB, free: 54.23 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/27.8, allocations: 308.3 kB / 9.046 GB, free: 53.95 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/27.8, allocations: 30.34 kB / 9.046 GB, free: 53.93 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/27.8, allocations: 31.94 kB / 9.046 GB, free: 53.91 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/27.8, allocations: 455.7 kB / 9.047 GB, free: 53.55 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/27.8, allocations: 7.953 kB / 9.047 GB, free: 53.54 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.322e-05/27.8, allocations: 26.23 kB / 9.047 GB, free: 53.53 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/27.8, allocations: 8 kB / 9.047 GB, free: 53.52 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/27.81, allocations: 388.3 kB / 9.047 GB, free: 53.26 MB / 0.6359 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.006679/27.81, allocations: 5.218 MB / 9.052 GB, free: 48.26 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006918/27.81, allocations: 299.3 kB / 9.052 GB, free: 48 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/27.81, allocations: 129.3 kB / 9.052 GB, free: 47.88 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002479/27.82, allocations: 2.054 MB / 9.054 GB, free: 45.48 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/27.82, allocations: 38.56 kB / 9.054 GB, free: 45.43 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=30): time 3.166e-06/27.82, allocations: 0 / 9.054 GB, free: 45.43 MB / 0.6359 GB Notification: Performance of matching and sorting (n=34): time 0.004962/27.82, allocations: 1.131 MB / 9.056 GB, free: 44.26 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/27.82, allocations: 59.41 kB / 9.056 GB, free: 44.19 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/27.82, allocations: 232.8 kB / 9.056 GB, free: 43.96 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/27.82, allocations: 33.7 kB / 9.056 GB, free: 43.92 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/27.82, allocations: 184 kB / 9.056 GB, free: 43.74 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 7.156e-05/27.82, allocations: 121.1 kB / 9.056 GB, free: 43.64 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.896e-05/27.82, allocations: 8 kB / 9.056 GB, free: 43.63 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 6.587e-05/27.82, allocations: 342.8 kB / 9.057 GB, free: 43.29 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/27.82, allocations: 108.9 kB / 9.057 GB, free: 43.18 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/27.82, allocations: 222 kB / 9.057 GB, free: 42.92 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/27.82, allocations: 143.9 kB / 9.057 GB, free: 42.78 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/27.82, allocations: 4 kB / 9.057 GB, free: 42.78 MB / 0.6359 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007379/27.82, allocations: 454.7 kB / 9.057 GB, free: 42.32 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/27.82, allocations: 8 kB / 9.057 GB, free: 42.31 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/27.82, allocations: 4 kB / 9.057 GB, free: 42.31 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007015/27.83, allocations: 293.3 kB / 9.058 GB, free: 42.02 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/27.83, allocations: 95.39 kB / 9.058 GB, free: 41.93 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/27.83, allocations: 1.832 MB / 9.06 GB, free: 39.94 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/27.83, allocations: 29.89 kB / 9.06 GB, free: 39.91 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.405e-05/27.83, allocations: 19.98 kB / 9.06 GB, free: 39.89 MB / 0.6359 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.0001621/27.83, allocations: 140.9 kB / 9.06 GB, free: 39.75 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/27.83, allocations: 31.62 kB / 9.06 GB, free: 39.72 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/27.83, allocations: 0.6947 MB / 9.06 GB, free: 39.02 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/27.83, allocations: 11.98 kB / 9.06 GB, free: 39.01 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/27.83, allocations: 0 / 9.06 GB, free: 39.01 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000649/27.83, allocations: 0.844 MB / 9.061 GB, free: 38.08 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/27.83, allocations: 1.187 MB / 9.062 GB, free: 36.84 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/27.83, allocations: 0 / 9.062 GB, free: 36.84 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/27.84, allocations: 63.91 kB / 9.063 GB, free: 36.78 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00177/27.84, allocations: 196.4 kB / 9.063 GB, free: 36.59 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/27.84, allocations: 8 kB / 9.063 GB, free: 36.58 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002363/27.84, allocations: 0.5757 MB / 9.063 GB, free: 35.98 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/27.84, allocations: 4.031 kB / 9.063 GB, free: 35.97 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008081/27.84, allocations: 0.7212 MB / 9.064 GB, free: 35.23 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/27.84, allocations: 128.5 kB / 9.064 GB, free: 35.09 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/27.84, allocations: 10.95 kB / 9.064 GB, free: 35.09 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/27.84, allocations: 30.02 kB / 9.064 GB, free: 35.06 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/27.84, allocations: 19.97 kB / 9.064 GB, free: 35.04 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/27.84, allocations: 19.92 kB / 9.064 GB, free: 35.02 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0002248/27.84, allocations: 215.1 kB / 9.064 GB, free: 34.81 MB / 0.6359 GB Notification: Performance of sort global known variables: time 2.5e-07/27.84, allocations: 0 / 9.064 GB, free: 34.81 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.01818/27.86, allocations: 0.8589 MB / 9.065 GB, free: 34.01 MB / 0.6359 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.1151/27.97, allocations: 20.23 MB / 9.085 GB, free: 14.09 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001045/27.97, allocations: 482.3 kB / 9.085 GB, free: 13.61 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/27.97, allocations: 0 / 9.085 GB, free: 13.61 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.000307/27.97, allocations: 220.9 kB / 9.086 GB, free: 13.39 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/27.97, allocations: 173.6 kB / 9.086 GB, free: 13.23 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01378/27.99, allocations: 1.108 MB / 9.087 GB, free: 12.14 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/27.99, allocations: 0.8169 MB / 9.088 GB, free: 11.3 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0004532/27.99, allocations: 191 kB / 9.088 GB, free: 11.11 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/27.99, allocations: 135.4 kB / 9.088 GB, free: 10.98 MB / 0.6359 GB Notification: Performance of SimCode: time 7.61e-07/27.99, allocations: 0 / 9.088 GB, free: 10.98 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5024/28.49, allocations: 40.22 MB / 9.127 GB, free: 110.1 MB / 0.6359 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/28.49, allocations: 167.4 kB / 9.127 GB, free: 109.8 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.785/32.28, allocations: 0 / 9.127 GB, free: 109.8 MB / 0.6359 GB (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat