Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.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.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001053/0.001053, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.591/1.591, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001149, allocations: 97.55 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.058e-05, allocations: 4 kB / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.154, allocations: 51.47 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.33/16.48, allocations: 5.751 GB / 6.137 GB, free: 127.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/16.48, allocations: 74.36 kB / 6.137 GB, free: 127.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 13.12/29.61, allocations: 3.703 GB / 9.839 GB, free: 83.59 MB / 0.6671 GB Notification: Performance of FrontEnd: time 2.584e-06/29.61, allocations: 0 / 9.839 GB, free: 83.59 MB / 0.6671 GB Notification: Performance of Transformations before backend: time 5.692e-05/29.61, allocations: 19.5 kB / 9.839 GB, free: 83.58 MB / 0.6671 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.07136/29.68, allocations: 2.194 MB / 9.842 GB, free: 81.84 MB / 0.6671 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/29.68, allocations: 8.031 kB / 9.842 GB, free: 81.83 MB / 0.6671 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007477/29.68, allocations: 92.25 kB / 9.842 GB, free: 81.75 MB / 0.6671 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005128/29.68, allocations: 375.1 kB / 9.842 GB, free: 81.49 MB / 0.6671 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/29.68, allocations: 16 kB / 9.842 GB, free: 81.47 MB / 0.6671 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.511e-05/29.68, allocations: 24 kB / 9.842 GB, free: 81.45 MB / 0.6671 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006123/29.68, allocations: 452.6 kB / 9.842 GB, free: 81.2 MB / 0.6671 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000683/29.68, allocations: 0.509 MB / 9.843 GB, free: 80.85 MB / 0.6671 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/29.68, allocations: 8.688 kB / 9.843 GB, free: 80.84 MB / 0.6671 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.013e-05/29.68, allocations: 4 kB / 9.843 GB, free: 80.84 MB / 0.6671 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/29.68, allocations: 12 kB / 9.843 GB, free: 80.83 MB / 0.6671 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.005895/29.69, allocations: 6.402 MB / 9.849 GB, free: 75.52 MB / 0.6671 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000467/29.69, allocations: 328.5 kB / 9.85 GB, free: 75.33 MB / 0.6671 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002241/29.69, allocations: 186.6 kB / 9.85 GB, free: 75.22 MB / 0.6671 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00244/29.69, allocations: 2.415 MB / 9.852 GB, free: 72.63 MB / 0.6671 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.964e-05/29.69, allocations: 35.52 kB / 9.852 GB, free: 72.59 MB / 0.6671 GB Notification: Performance of pre-optimization done (n=44): time 2.795e-06/29.69, allocations: 0 / 9.852 GB, free: 72.59 MB / 0.6671 GB Notification: Performance of matching and sorting (n=52): time 0.01334/29.7, allocations: 2.287 MB / 9.854 GB, free: 71.12 MB / 0.6671 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.337e-05/29.7, allocations: 55.84 kB / 9.854 GB, free: 71.05 MB / 0.6671 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/29.71, allocations: 249.8 kB / 9.855 GB, free: 70.87 MB / 0.6671 GB Notification: Performance of collectPreVariables (initialization): time 4.528e-05/29.71, allocations: 25.7 kB / 9.855 GB, free: 70.84 MB / 0.6671 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/29.71, allocations: 244.1 kB / 9.855 GB, free: 70.67 MB / 0.6671 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001199/29.71, allocations: 178.4 kB / 9.855 GB, free: 70.55 MB / 0.6671 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.531e-05/29.71, allocations: 0 / 9.855 GB, free: 70.55 MB / 0.6671 GB Notification: Performance of setup shared object (initialization): time 7.759e-05/29.71, allocations: 348.2 kB / 9.855 GB, free: 70.23 MB / 0.6671 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/29.71, allocations: 159.9 kB / 9.856 GB, free: 70.15 MB / 0.6671 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/29.71, allocations: 302.2 kB / 9.856 GB, free: 69.88 MB / 0.6671 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003838/29.71, allocations: 0.5435 MB / 9.856 GB, free: 69.58 MB / 0.6671 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/29.71, allocations: 0 / 9.856 GB, free: 69.58 MB / 0.6671 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004622/29.71, allocations: 0.9294 MB / 9.857 GB, free: 69 MB / 0.6671 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/29.71, allocations: 8 kB / 9.857 GB, free: 68.99 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/29.71, allocations: 4 kB / 9.857 GB, free: 68.99 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/29.71, allocations: 89.03 kB / 9.857 GB, free: 68.93 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005313/29.72, allocations: 146.1 kB / 9.858 GB, free: 68.82 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003852/29.72, allocations: 3.148 MB / 9.861 GB, free: 65.73 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005162/29.72, allocations: 35.64 kB / 9.861 GB, free: 65.7 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.785e-05/29.72, allocations: 28.38 kB / 9.861 GB, free: 65.68 MB / 0.6671 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.0001731/29.72, allocations: 127.9 kB / 9.861 GB, free: 65.57 MB / 0.6671 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004389/29.72, allocations: 0.7813 MB / 9.862 GB, free: 65.07 MB / 0.6671 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/29.72, allocations: 39.53 kB / 9.862 GB, free: 65.03 MB / 0.6671 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002312/29.73, allocations: 1.063 MB / 9.863 GB, free: 64.43 MB / 0.6671 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/29.73, allocations: 11.8 kB / 9.863 GB, free: 64.42 MB / 0.6671 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/29.73, allocations: 0 / 9.863 GB, free: 64.42 MB / 0.6671 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001908/29.73, allocations: 1.105 MB / 9.864 GB, free: 63.61 MB / 0.6671 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/29.73, allocations: 1.647 MB / 9.865 GB, free: 62.65 MB / 0.6671 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/29.73, allocations: 0 / 9.865 GB, free: 62.65 MB / 0.6671 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/29.73, allocations: 98.77 kB / 9.865 GB, free: 62.57 MB / 0.6671 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/29.73, allocations: 122.6 kB / 9.866 GB, free: 62.5 MB / 0.6671 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/29.73, allocations: 14.05 kB / 9.866 GB, free: 62.49 MB / 0.6671 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006991/29.73, allocations: 1.2 MB / 9.867 GB, free: 61.35 MB / 0.6671 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/29.73, allocations: 4.031 kB / 9.867 GB, free: 61.34 MB / 0.6671 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002209/29.74, allocations: 1.17 MB / 9.868 GB, free: 60.58 MB / 0.6671 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/29.74, allocations: 128.1 kB / 9.868 GB, free: 60.45 MB / 0.6671 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.432e-05/29.74, allocations: 4 kB / 9.868 GB, free: 60.45 MB / 0.6671 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003385/29.74, allocations: 25.47 kB / 9.868 GB, free: 60.43 MB / 0.6671 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.069e-05/29.74, allocations: 39.62 kB / 9.868 GB, free: 60.41 MB / 0.6671 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/29.74, allocations: 19.16 kB / 9.868 GB, free: 60.39 MB / 0.6671 GB Notification: Performance of sorting global known variables: time 0.0001762/29.74, allocations: 189 kB / 9.868 GB, free: 60.26 MB / 0.6671 GB Notification: Performance of sort global known variables: time 2.2e-07/29.74, allocations: 0 / 9.868 GB, free: 60.26 MB / 0.6671 GB Notification: Performance of remove unused functions: time 0.01971/29.76, allocations: 1.075 MB / 9.869 GB, free: 59.38 MB / 0.6671 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.1556/29.91, allocations: 25.54 MB / 9.894 GB, free: 34.88 MB / 0.6671 GB Notification: Performance of simCode: created initialization part: time 0.00156/29.91, allocations: 0.6576 MB / 9.895 GB, free: 34.43 MB / 0.6671 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/29.91, allocations: 0 / 9.895 GB, free: 34.43 MB / 0.6671 GB Notification: Performance of simCode: created simulation system equations: time 0.0004537/29.91, allocations: 338 kB / 9.895 GB, free: 34.23 MB / 0.6671 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/29.92, allocations: 202 kB / 9.895 GB, free: 34.12 MB / 0.6671 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/29.94, allocations: 1.574 MB / 9.897 GB, free: 32.89 MB / 0.6671 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/29.94, allocations: 0.87 MB / 9.898 GB, free: 32.06 MB / 0.6671 GB Notification: Performance of simCode: alias equations: time 0.0006024/29.94, allocations: 276.6 kB / 9.898 GB, free: 31.88 MB / 0.6671 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002361/29.94, allocations: 191.5 kB / 9.898 GB, free: 31.84 MB / 0.6671 GB Notification: Performance of SimCode: time 1.092e-06/29.94, allocations: 0 / 9.898 GB, free: 31.84 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07929/30.02, allocations: 42.17 MB / 9.939 GB, free: 6.613 MB / 0.6828 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/30.02, allocations: 123.9 kB / 9.94 GB, free: 6.422 MB / 0.6828 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.618/33.64, allocations: 0 / 9.94 GB, free: 6.422 MB / 0.6828 GB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat