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.002092/0.002098, allocations: 180.2 kB / 8.366 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 87.02 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.067e-05/2.056e-05, allocations: 4 kB / 314.9 MB, free: 9.066 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3572, allocations: 47.56 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.44/17.8, allocations: 5.795 GB / 6.149 GB, free: 19.77 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/17.8, allocations: 63.91 kB / 6.149 GB, free: 19.73 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 20.19/37.99, allocations: 4.462 GB / 10.61 GB, free: 1.887 MB / 0.636 GB Notification: Performance of FrontEnd: time 3.978e-06/37.99, allocations: 0 / 10.61 GB, free: 1.887 MB / 0.636 GB Notification: Performance of Transformations before backend: time 6.51e-05/37.99, allocations: 16 kB / 10.61 GB, free: 1.871 MB / 0.636 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.08059/38.07, allocations: 2.195 MB / 10.61 GB, free: 15.96 MB / 0.6516 GB Notification: Performance of prepare preOptimizeDAE: time 7.295e-05/38.07, allocations: 12.03 kB / 10.61 GB, free: 15.95 MB / 0.6516 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/38.07, allocations: 94.06 kB / 10.61 GB, free: 15.86 MB / 0.6516 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/38.08, allocations: 375.5 kB / 10.61 GB, free: 15.54 MB / 0.6516 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/38.08, allocations: 12 kB / 10.61 GB, free: 15.52 MB / 0.6516 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/38.08, allocations: 31.98 kB / 10.61 GB, free: 15.49 MB / 0.6516 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00205/38.08, allocations: 450.5 kB / 10.61 GB, free: 15.21 MB / 0.6516 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002058/38.08, allocations: 0.5065 MB / 10.62 GB, free: 14.79 MB / 0.6516 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-05/38.08, allocations: 11.94 kB / 10.62 GB, free: 14.77 MB / 0.6516 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/38.08, allocations: 0 / 10.62 GB, free: 14.77 MB / 0.6516 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.179e-05/38.08, allocations: 15.8 kB / 10.62 GB, free: 14.76 MB / 0.6516 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.01962/38.1, allocations: 6.394 MB / 10.62 GB, free: 8.562 MB / 0.6516 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/38.1, allocations: 336.1 kB / 10.62 GB, free: 8.352 MB / 0.6516 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006265/38.1, allocations: 183 kB / 10.62 GB, free: 8.238 MB / 0.6516 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007215/38.11, allocations: 2.421 MB / 10.62 GB, free: 5.496 MB / 0.6516 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.01e-05/38.11, allocations: 38.12 kB / 10.62 GB, free: 5.453 MB / 0.6516 GB Notification: Performance of pre-optimization done (n=44): time 5.581e-06/38.11, allocations: 0 / 10.62 GB, free: 5.453 MB / 0.6516 GB Notification: Performance of matching and sorting (n=52): time 0.0375/38.15, allocations: 2.287 MB / 10.63 GB, free: 3.355 MB / 0.6516 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/38.15, allocations: 55.84 kB / 10.63 GB, free: 3.289 MB / 0.6516 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007066/38.15, allocations: 246.2 kB / 10.63 GB, free: 3.043 MB / 0.6516 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/38.15, allocations: 25.7 kB / 10.63 GB, free: 3.012 MB / 0.6516 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003353/38.15, allocations: 296.8 kB / 10.63 GB, free: 2.742 MB / 0.6516 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003639/38.15, allocations: 177.3 kB / 10.63 GB, free: 2.59 MB / 0.6516 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/38.15, allocations: 0 / 10.63 GB, free: 2.59 MB / 0.6516 GB Notification: Performance of setup shared object (initialization): time 0.0002286/38.15, allocations: 338.8 kB / 10.63 GB, free: 2.25 MB / 0.6516 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007398/38.15, allocations: 165.4 kB / 10.63 GB, free: 2.09 MB / 0.6516 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/38.15, allocations: 307.8 kB / 10.63 GB, free: 1.727 MB / 0.6516 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/38.16, allocations: 0.5355 MB / 10.63 GB, free: 1.191 MB / 0.6516 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/38.16, allocations: 0 / 10.63 GB, free: 1.191 MB / 0.6516 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0132/38.17, allocations: 0.9156 MB / 10.63 GB, free: 268 kB / 0.6516 GB Notification: Performance of prepare postOptimizeDAE: time 4.786e-05/38.17, allocations: 14.61 kB / 10.63 GB, free: 256 kB / 0.6516 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.428e-05/38.17, allocations: 4 kB / 10.63 GB, free: 252 kB / 0.6516 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008763/38.18, allocations: 95.08 kB / 10.63 GB, free: 148 kB / 0.6516 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001756/38.18, allocations: 135.8 kB / 10.63 GB, free: 12 kB / 0.6516 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5836/38.76, allocations: 3.147 MB / 10.63 GB, free: 112.7 MB / 0.6516 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007852/38.76, allocations: 31.62 kB / 10.63 GB, free: 112.7 MB / 0.6516 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.549e-05/38.76, allocations: 29.98 kB / 10.63 GB, free: 112.7 MB / 0.6516 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.0002082/38.76, allocations: 121 kB / 10.63 GB, free: 112.6 MB / 0.6516 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006461/38.77, allocations: 0.7883 MB / 10.63 GB, free: 112.5 MB / 0.6516 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/38.77, allocations: 42.7 kB / 10.63 GB, free: 112.5 MB / 0.6516 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003595/38.77, allocations: 1.06 MB / 10.63 GB, free: 112.4 MB / 0.6516 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.11e-05/38.77, allocations: 9.141 kB / 10.63 GB, free: 112.4 MB / 0.6516 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/38.77, allocations: 0 / 10.63 GB, free: 112.4 MB / 0.6516 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003045/38.78, allocations: 1.106 MB / 10.64 GB, free: 112 MB / 0.6516 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004679/38.78, allocations: 1.644 MB / 10.64 GB, free: 111.7 MB / 0.6516 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/38.78, allocations: 0 / 10.64 GB, free: 111.7 MB / 0.6516 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/38.78, allocations: 95.67 kB / 10.64 GB, free: 111.7 MB / 0.6516 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006551/38.78, allocations: 122.8 kB / 10.64 GB, free: 111.7 MB / 0.6516 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.894e-05/38.78, allocations: 11.31 kB / 10.64 GB, free: 111.7 MB / 0.6516 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/38.78, allocations: 1.199 MB / 10.64 GB, free: 110.7 MB / 0.6516 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/38.78, allocations: 3.844 kB / 10.64 GB, free: 110.7 MB / 0.6516 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003548/38.79, allocations: 1.171 MB / 10.64 GB, free: 110.4 MB / 0.6516 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/38.79, allocations: 126.1 kB / 10.64 GB, free: 110.3 MB / 0.6516 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.22e-05/38.79, allocations: 0 / 10.64 GB, free: 110.3 MB / 0.6516 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/38.79, allocations: 23.89 kB / 10.64 GB, free: 110.3 MB / 0.6516 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.966e-05/38.79, allocations: 36.2 kB / 10.64 GB, free: 110.3 MB / 0.6516 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/38.79, allocations: 25.25 kB / 10.64 GB, free: 110.3 MB / 0.6516 GB Notification: Performance of sorting global known variables: time 0.0002817/38.79, allocations: 190.4 kB / 10.64 GB, free: 110.2 MB / 0.6516 GB Notification: Performance of sort global known variables: time 4.51e-07/38.79, allocations: 0 / 10.64 GB, free: 110.2 MB / 0.6516 GB Notification: Performance of remove unused functions: time 0.02232/38.81, allocations: 1.068 MB / 10.64 GB, free: 110.2 MB / 0.6516 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * 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.2385/39.05, allocations: 25.54 MB / 10.67 GB, free: 97.63 MB / 0.6516 GB Notification: Performance of simCode: created initialization part: time 0.002123/39.05, allocations: 0.6497 MB / 10.67 GB, free: 97.52 MB / 0.6516 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/39.05, allocations: 2.438 kB / 10.67 GB, free: 97.52 MB / 0.6516 GB Notification: Performance of simCode: created simulation system equations: time 0.000909/39.05, allocations: 335.5 kB / 10.67 GB, free: 97.52 MB / 0.6516 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/39.05, allocations: 213.1 kB / 10.67 GB, free: 97.5 MB / 0.6516 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01892/39.07, allocations: 1.606 MB / 10.67 GB, free: 97.15 MB / 0.6516 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/39.07, allocations: 0.8642 MB / 10.67 GB, free: 96.45 MB / 0.6516 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/39.07, allocations: 195.8 kB / 10.67 GB, free: 96.45 MB / 0.6516 GB Notification: Performance of SimCode: time 1.433e-06/39.07, allocations: 2.906 kB / 10.67 GB, free: 96.45 MB / 0.6516 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.764/42.84, allocations: 48.02 MB / 10.72 GB, free: 92.8 MB / 0.6516 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