Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001317/0.001317, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.2 MB / 245 MB, free: 5.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000815/0.000815, allocations: 98.44 kB / 297.3 MB, free: 5.992 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002408/0.0002411, allocations: 8 kB / 358 MB, free: 9.242 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2611, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.75/12.01, allocations: 5.751 GB / 6.151 GB, free: 148.1 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/12.01, allocations: 77.55 kB / 6.151 GB, free: 148 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.806/19.82, allocations: 2.918 GB / 9.069 GB, free: 133.3 MB / 0.6515 GB Notification: Performance of FrontEnd: time 1.823e-06/19.82, allocations: 2.844 kB / 9.069 GB, free: 133.3 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 1.962e-05/19.82, allocations: 8.609 kB / 9.069 GB, free: 133.3 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.03266/19.85, allocations: 1.708 MB / 9.071 GB, free: 132.4 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/19.85, allocations: 10.62 kB / 9.071 GB, free: 132.4 MB / 0.6515 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.589e-05/19.85, allocations: 72.86 kB / 9.071 GB, free: 132.4 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000517/19.85, allocations: 68.14 kB / 9.071 GB, free: 132.3 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/19.85, allocations: 312.3 kB / 9.072 GB, free: 132.1 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/19.85, allocations: 28.86 kB / 9.072 GB, free: 132.1 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/19.85, allocations: 35 kB / 9.072 GB, free: 132.1 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008063/19.86, allocations: 456.3 kB / 9.072 GB, free: 132 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/19.86, allocations: 7.469 kB / 9.072 GB, free: 132 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/19.86, allocations: 14.25 kB / 9.072 GB, free: 132 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/19.86, allocations: 10.34 kB / 9.072 GB, free: 132 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005945/19.86, allocations: 385.8 kB / 9.072 GB, free: 132 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.005812/19.86, allocations: 5.217 MB / 9.078 GB, free: 130 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005886/19.86, allocations: 293.2 kB / 9.078 GB, free: 130 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002152/19.86, allocations: 2.068 MB / 9.08 GB, free: 128.2 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/19.86, allocations: 34.19 kB / 9.08 GB, free: 128.2 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=30): time 2.706e-06/19.86, allocations: 0 / 9.08 GB, free: 128.2 MB / 0.6515 GB Notification: Performance of matching and sorting (n=34): time 0.004567/19.87, allocations: 1.276 MB / 9.081 GB, free: 127.7 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/19.87, allocations: 54.66 kB / 9.081 GB, free: 127.7 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/19.87, allocations: 233 kB / 9.081 GB, free: 127.6 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/19.87, allocations: 31.98 kB / 9.081 GB, free: 127.5 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 9.27e-05/19.87, allocations: 194.2 kB / 9.082 GB, free: 127.4 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 7.479e-05/19.87, allocations: 118.5 kB / 9.082 GB, free: 127.4 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.898e-05/19.87, allocations: 10.72 kB / 9.082 GB, free: 127.4 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 8.412e-05/19.87, allocations: 337.7 kB / 9.082 GB, free: 127 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/19.87, allocations: 113.4 kB / 9.082 GB, free: 127 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/19.87, allocations: 226.7 kB / 9.082 GB, free: 126.9 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/19.87, allocations: 144.9 kB / 9.083 GB, free: 126.9 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/19.87, allocations: 0 / 9.083 GB, free: 126.9 MB / 0.6515 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007412/19.87, allocations: 466.9 kB / 9.083 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/19.87, allocations: 10.92 kB / 9.083 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/19.87, allocations: 3.875 kB / 9.083 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006705/19.88, allocations: 297.5 kB / 9.083 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003213/19.88, allocations: 84.98 kB / 9.083 GB, free: 126.8 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/19.88, allocations: 1.842 MB / 9.085 GB, free: 125 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/19.88, allocations: 33.42 kB / 9.085 GB, free: 125 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/19.88, allocations: 21.22 kB / 9.085 GB, free: 125 MB / 0.6515 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 () * Number of clocked 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.0001795/19.88, allocations: 165.7 kB / 9.085 GB, free: 124.9 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/19.88, allocations: 33.42 kB / 9.085 GB, free: 124.9 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008316/19.88, allocations: 0.7002 MB / 9.086 GB, free: 124.8 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/19.88, allocations: 9.328 kB / 9.086 GB, free: 124.8 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/19.88, allocations: 3.562 kB / 9.086 GB, free: 124.8 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005938/19.88, allocations: 0.8583 MB / 9.087 GB, free: 124.4 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/19.88, allocations: 1.203 MB / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/19.88, allocations: 2.625 kB / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/19.88, allocations: 64.19 kB / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001836/19.88, allocations: 195.5 kB / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.285e-05/19.88, allocations: 9.906 kB / 9.088 GB, free: 124 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002042/19.88, allocations: 0.5733 MB / 9.089 GB, free: 123.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/19.88, allocations: 6.781 kB / 9.089 GB, free: 123.5 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007002/19.89, allocations: 0.7214 MB / 9.09 GB, free: 123.3 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 7.97e-05/19.89, allocations: 125.4 kB / 9.09 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/19.89, allocations: 12.44 kB / 9.09 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/19.89, allocations: 19.33 kB / 9.09 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/19.89, allocations: 25.33 kB / 9.09 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/19.89, allocations: 19.45 kB / 9.09 GB, free: 123.2 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0001624/19.89, allocations: 217.8 kB / 9.09 GB, free: 123.1 MB / 0.6515 GB Notification: Performance of sort global known variables: time 2.41e-07/19.89, allocations: 0 / 9.09 GB, free: 123.1 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01109/19.9, allocations: 0.8615 MB / 9.091 GB, free: 123 MB / 0.6515 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 () * Number of clocked 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.1111/20.01, allocations: 20.24 MB / 9.111 GB, free: 112.5 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.0009873/20.01, allocations: 485.2 kB / 9.111 GB, free: 112.4 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/20.01, allocations: 0 / 9.111 GB, free: 112.4 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0003131/20.01, allocations: 217.3 kB / 9.111 GB, free: 112.4 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009282/20.01, allocations: 187.1 kB / 9.111 GB, free: 112.4 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/20.02, allocations: 4.951 MB / 9.116 GB, free: 109 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/20.02, allocations: 0.8133 MB / 9.117 GB, free: 108.3 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.0004166/20.02, allocations: 183.5 kB / 9.117 GB, free: 108.3 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/20.02, allocations: 136.8 kB / 9.117 GB, free: 108.3 MB / 0.6515 GB Notification: Performance of SimCode: time 1.072e-06/20.02, allocations: 0 / 9.117 GB, free: 108.3 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05227/20.08, allocations: 38.68 MB / 9.155 GB, free: 87.16 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001322/20.08, allocations: 196.7 kB / 9.155 GB, free: 86.91 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.393/23.47, allocations: 0 / 9.155 GB, free: 86.91 MB / 0.6515 GB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat