Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.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.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1",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.001195/0.001196, allocations: 177.7 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.971/1.971, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 92.09 kB / 262.5 MB, free: 1.676 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.469e-05, allocations: 4 kB / 315.6 MB, free: 22.63 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 47.58 MB / 363.2 MB, free: 6.984 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.89/16.02, allocations: 5.796 GB / 6.15 GB, free: 139 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/16.02, allocations: 70.91 kB / 6.15 GB, free: 139 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 12.05/28.07, allocations: 3.505 GB / 9.655 GB, free: 29.34 MB / 0.6203 GB Notification: Performance of FrontEnd: time 1.623e-06/28.07, allocations: 0 / 9.655 GB, free: 29.34 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 3e-05/28.07, allocations: 8 kB / 9.655 GB, free: 29.34 MB / 0.6203 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.03596/28.11, allocations: 1.671 MB / 9.657 GB, free: 27.82 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/28.11, allocations: 8.031 kB / 9.657 GB, free: 27.81 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005676/28.11, allocations: 63.59 kB / 9.657 GB, free: 27.75 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/28.11, allocations: 320.7 kB / 9.657 GB, free: 27.41 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/28.11, allocations: 11.95 kB / 9.657 GB, free: 27.4 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.798e-05/28.11, allocations: 20 kB / 9.657 GB, free: 27.38 MB / 0.6203 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004504/28.11, allocations: 325.4 kB / 9.657 GB, free: 27.06 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004352/28.11, allocations: 376.2 kB / 9.658 GB, free: 26.66 MB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/28.11, allocations: 0 / 9.658 GB, free: 26.66 MB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.303e-05/28.11, allocations: 4 kB / 9.658 GB, free: 26.65 MB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/28.11, allocations: 11.94 kB / 9.658 GB, free: 26.64 MB / 0.6203 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.0051/28.11, allocations: 5.568 MB / 9.663 GB, free: 20.78 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003013/28.12, allocations: 214.8 kB / 9.663 GB, free: 20.56 MB / 0.6203 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001359/28.12, allocations: 108.9 kB / 9.664 GB, free: 20.45 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001641/28.12, allocations: 1.646 MB / 9.665 GB, free: 18.54 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/28.12, allocations: 38.55 kB / 9.665 GB, free: 18.49 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/28.12, allocations: 0 / 9.665 GB, free: 18.49 MB / 0.6203 GB Notification: Performance of matching and sorting (n=32): time 0.007366/28.12, allocations: 1.43 MB / 9.667 GB, free: 17.01 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.285e-05/28.12, allocations: 51.41 kB / 9.667 GB, free: 16.95 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/28.12, allocations: 209.9 kB / 9.667 GB, free: 16.74 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/28.12, allocations: 25.7 kB / 9.667 GB, free: 16.71 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 8.681e-05/28.12, allocations: 201.2 kB / 9.667 GB, free: 16.53 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/28.12, allocations: 114.3 kB / 9.667 GB, free: 16.43 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.505e-05/28.12, allocations: 0 / 9.667 GB, free: 16.43 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 6.374e-05/28.12, allocations: 334.8 kB / 9.667 GB, free: 16.09 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001287/28.13, allocations: 104.8 kB / 9.668 GB, free: 15.99 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/28.13, allocations: 205.2 kB / 9.668 GB, free: 15.74 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/28.13, allocations: 336 kB / 9.668 GB, free: 15.41 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/28.13, allocations: 0 / 9.668 GB, free: 15.41 MB / 0.6203 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002423/28.13, allocations: 0.5884 MB / 9.669 GB, free: 14.81 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/28.13, allocations: 8 kB / 9.669 GB, free: 14.8 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/28.13, allocations: 4.438 kB / 9.669 GB, free: 14.8 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/28.13, allocations: 61.62 kB / 9.669 GB, free: 14.73 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/28.13, allocations: 87.89 kB / 9.669 GB, free: 14.65 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/28.13, allocations: 1.887 MB / 9.671 GB, free: 12.62 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002286/28.13, allocations: 34 kB / 9.671 GB, free: 12.59 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/28.13, allocations: 20 kB / 9.671 GB, free: 12.57 MB / 0.6203 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 9.41e-05/28.13, allocations: 115.3 kB / 9.671 GB, free: 12.46 MB / 0.6203 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002207/28.13, allocations: 487.1 kB / 9.671 GB, free: 11.97 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.839e-05/28.13, allocations: 35.58 kB / 9.671 GB, free: 11.93 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/28.14, allocations: 0.6723 MB / 9.672 GB, free: 11.25 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.126e-06/28.14, allocations: 12 kB / 9.672 GB, free: 11.24 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/28.14, allocations: 3.984 kB / 9.672 GB, free: 11.24 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/28.14, allocations: 0.8516 MB / 9.673 GB, free: 10.3 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/28.14, allocations: 1.124 MB / 9.674 GB, free: 9.133 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/28.14, allocations: 0 / 9.674 GB, free: 9.133 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002069/28.14, allocations: 63.91 kB / 9.674 GB, free: 9.07 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001772/28.14, allocations: 56.7 kB / 9.674 GB, free: 9.012 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.833e-05/28.14, allocations: 12.06 kB / 9.674 GB, free: 9 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002742/28.14, allocations: 0.5952 MB / 9.675 GB, free: 8.379 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/28.14, allocations: 11.92 kB / 9.675 GB, free: 8.367 MB / 0.6203 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/28.14, allocations: 0.7584 MB / 9.675 GB, free: 7.57 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/28.14, allocations: 110.7 kB / 9.675 GB, free: 7.445 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.916e-05/28.14, allocations: 7.953 kB / 9.675 GB, free: 7.438 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/28.14, allocations: 9.953 kB / 9.675 GB, free: 7.43 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/28.14, allocations: 28.31 kB / 9.675 GB, free: 7.402 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/28.14, allocations: 11.94 kB / 9.676 GB, free: 7.391 MB / 0.6203 GB Notification: Performance of sorting global known variables: time 0.0001017/28.14, allocations: 164.5 kB / 9.676 GB, free: 7.23 MB / 0.6203 GB Notification: Performance of sort global known variables: time 1.41e-07/28.14, allocations: 0 / 9.676 GB, free: 7.23 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.01475/28.16, allocations: 0.8217 MB / 9.676 GB, free: 6.461 MB / 0.6203 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.4913/28.65, allocations: 20.47 MB / 9.696 GB, free: 130.9 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.001033/28.65, allocations: 454.6 kB / 9.697 GB, free: 130.8 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/28.65, allocations: 1.75 kB / 9.697 GB, free: 130.8 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.0003867/28.65, allocations: 214.2 kB / 9.697 GB, free: 130.8 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/28.65, allocations: 141.6 kB / 9.697 GB, free: 130.8 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/28.66, allocations: 1.057 MB / 9.698 GB, free: 130.5 MB / 0.6203 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/28.66, allocations: 0.8104 MB / 9.699 GB, free: 129.8 MB / 0.6203 GB Notification: Performance of simCode: alias equations: time 0.0004931/28.66, allocations: 251.1 kB / 9.699 GB, free: 129.8 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/28.66, allocations: 120.6 kB / 9.699 GB, free: 129.8 MB / 0.6203 GB Notification: Performance of SimCode: time 7.21e-07/28.66, allocations: 0 / 9.699 GB, free: 129.8 MB / 0.6203 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.77/29.43, allocations: 32.9 MB / 9.732 GB, free: 127.8 MB / 0.6203 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002091/29.43, allocations: 123.6 kB / 9.732 GB, free: 127.6 MB / 0.6203 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.407/32.84, allocations: 0 / 9.732 GB, free: 127.6 MB / 0.6203 GB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat