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.001521/0.001521, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.962/1.962, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001106/0.001106, allocations: 96.34 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00039/0.0003899, allocations: 12 kB / 327.1 MB, free: 112 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3436, allocations: 47.57 MB / 374.6 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.23/17.57, allocations: 5.796 GB / 6.162 GB, free: 110.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/17.57, allocations: 78.22 kB / 6.162 GB, free: 110.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 19.84/37.41, allocations: 4.507 GB / 10.67 GB, free: 102.8 MB / 0.6515 GB Notification: Performance of FrontEnd: time 2.384e-06/37.41, allocations: 0 / 10.67 GB, free: 102.8 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 3.757e-05/37.41, allocations: 16.06 kB / 10.67 GB, free: 102.8 MB / 0.6515 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.06377/37.48, allocations: 2.23 MB / 10.67 GB, free: 101.7 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/37.48, allocations: 11.81 kB / 10.67 GB, free: 101.7 MB / 0.6515 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002019/37.48, allocations: 90.08 kB / 10.67 GB, free: 101.7 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/37.48, allocations: 99.67 kB / 10.67 GB, free: 101.6 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008288/37.48, allocations: 372.9 kB / 10.67 GB, free: 101.4 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/37.48, allocations: 36.78 kB / 10.67 GB, free: 101.4 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/37.48, allocations: 43.94 kB / 10.67 GB, free: 101.4 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/37.48, allocations: 0.6099 MB / 10.67 GB, free: 101.3 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/37.48, allocations: 5 kB / 10.67 GB, free: 101.3 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.798e-05/37.48, allocations: 18.12 kB / 10.67 GB, free: 101.3 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/37.48, allocations: 11.72 kB / 10.67 GB, free: 101.3 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/37.48, allocations: 0.5301 MB / 10.67 GB, free: 101.3 MB / 0.6515 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01019/37.49, allocations: 6.084 MB / 10.68 GB, free: 98.72 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/37.5, allocations: 431.1 kB / 10.68 GB, free: 98.69 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0047/37.5, allocations: 2.835 MB / 10.68 GB, free: 96.23 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.644e-05/37.5, allocations: 39.06 kB / 10.68 GB, free: 96.2 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=46): time 2.785e-06/37.5, allocations: 0 / 10.68 GB, free: 96.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=54): time 0.01543/37.52, allocations: 2.02 MB / 10.68 GB, free: 95.72 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/37.52, allocations: 58.81 kB / 10.68 GB, free: 95.65 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/37.52, allocations: 276 kB / 10.68 GB, free: 95.55 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/37.52, allocations: 39.03 kB / 10.68 GB, free: 95.52 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/37.52, allocations: 286.1 kB / 10.68 GB, free: 95.32 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/37.52, allocations: 185.6 kB / 10.68 GB, free: 95.22 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.019e-05/37.52, allocations: 15.66 kB / 10.68 GB, free: 95.22 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/37.52, allocations: 336.4 kB / 10.68 GB, free: 94.91 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004648/37.52, allocations: 175.4 kB / 10.68 GB, free: 94.91 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005348/37.52, allocations: 326 kB / 10.69 GB, free: 94.74 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005699/37.52, allocations: 234.5 kB / 10.69 GB, free: 94.73 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/37.52, allocations: 0 / 10.69 GB, free: 94.73 MB / 0.6515 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001945/37.52, allocations: 0.6534 MB / 10.69 GB, free: 94.62 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/37.52, allocations: 7.781 kB / 10.69 GB, free: 94.62 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/37.52, allocations: 5.969 kB / 10.69 GB, free: 94.62 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02473/37.55, allocations: 0.548 MB / 10.69 GB, free: 94.6 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/37.55, allocations: 149.7 kB / 10.69 GB, free: 94.59 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00221/37.55, allocations: 2.993 MB / 10.69 GB, free: 91.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007871/37.55, allocations: 51.67 kB / 10.69 GB, free: 91.69 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.681e-05/37.55, allocations: 25.69 kB / 10.69 GB, free: 91.69 MB / 0.6515 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 () * Number of clocked 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.0003926/37.55, allocations: 186.4 kB / 10.69 GB, free: 91.57 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/37.55, allocations: 41.5 kB / 10.69 GB, free: 91.55 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/37.55, allocations: 1.079 MB / 10.69 GB, free: 91.41 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/37.55, allocations: 11.52 kB / 10.69 GB, free: 91.41 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/37.55, allocations: 0 / 10.69 GB, free: 91.41 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00173/37.55, allocations: 1.092 MB / 10.69 GB, free: 91.01 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/37.56, allocations: 1.726 MB / 10.69 GB, free: 90.66 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/37.56, allocations: 1.562 kB / 10.69 GB, free: 90.66 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007325/37.56, allocations: 109.7 kB / 10.69 GB, free: 90.65 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006485/37.57, allocations: 390.6 kB / 10.69 GB, free: 90.62 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/37.57, allocations: 12.28 kB / 10.69 GB, free: 90.62 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007289/37.57, allocations: 1.145 MB / 10.7 GB, free: 89.58 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/37.57, allocations: 0 / 10.7 GB, free: 89.58 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/37.57, allocations: 1.136 MB / 10.7 GB, free: 89.36 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002796/37.57, allocations: 136.1 kB / 10.7 GB, free: 89.24 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/37.57, allocations: 11.16 kB / 10.7 GB, free: 89.24 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/37.57, allocations: 35.22 kB / 10.7 GB, free: 89.23 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/37.57, allocations: 39.38 kB / 10.7 GB, free: 89.23 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.316e-05/37.57, allocations: 20.11 kB / 10.7 GB, free: 89.23 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0003895/37.57, allocations: 248.2 kB / 10.7 GB, free: 89.15 MB / 0.6515 GB Notification: Performance of sort global known variables: time 3.91e-07/37.57, allocations: 0 / 10.7 GB, free: 89.15 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.02139/37.59, allocations: 1.118 MB / 10.7 GB, free: 88.97 MB / 0.6515 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 () * Number of clocked 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.2308/37.82, allocations: 25.24 MB / 10.72 GB, free: 76.05 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.002064/37.82, allocations: 0.691 MB / 10.72 GB, free: 75.82 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/37.82, allocations: 0 / 10.72 GB, free: 75.82 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.000887/37.83, allocations: 375.7 kB / 10.72 GB, free: 75.61 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/37.83, allocations: 255.3 kB / 10.72 GB, free: 75.48 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02452/37.85, allocations: 6.651 MB / 10.73 GB, free: 69.71 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/37.85, allocations: 0.8823 MB / 10.73 GB, free: 68.88 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004394/37.85, allocations: 204.4 kB / 10.73 GB, free: 68.83 MB / 0.6515 GB Notification: Performance of SimCode: time 1.243e-06/37.85, allocations: 0 / 10.73 GB, free: 68.83 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.455/41.31, allocations: 48.28 MB / 10.78 GB, free: 33.66 MB / 0.6515 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