Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Media_Examples_R134a_R134a2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a2,fileNamePrefix="Modelica_3_2_3_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.001078/0.001078, allocations: 175.8 kB / 14.1 MB, free: 1.207 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.447/1.447, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0007928/0.0007928, allocations: 86.7 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.717e-05/2.72e-05, allocations: 4 kB / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.09971, allocations: 47.58 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.53/12.63, allocations: 5.796 GB / 6.157 GB, free: 71.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/12.63, allocations: 70.66 kB / 6.157 GB, free: 71.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 13.61/26.23, allocations: 4.555 GB / 10.71 GB, free: 60.25 MB / 0.6515 GB Notification: Performance of FrontEnd: time 1.874e-06/26.23, allocations: 0 / 10.71 GB, free: 60.25 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 4.158e-05/26.23, allocations: 11.31 kB / 10.71 GB, free: 60.24 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.0602/26.29, allocations: 2.196 MB / 10.71 GB, free: 58.36 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/26.29, allocations: 11.97 kB / 10.71 GB, free: 58.35 MB / 0.6515 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002306/26.29, allocations: 87.95 kB / 10.71 GB, free: 58.29 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009197/26.29, allocations: 87.7 kB / 10.71 GB, free: 58.2 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007052/26.29, allocations: 376.9 kB / 10.72 GB, free: 57.89 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/26.29, allocations: 38.88 kB / 10.72 GB, free: 57.86 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001132/26.29, allocations: 45.03 kB / 10.72 GB, free: 57.83 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001364/26.29, allocations: 0.6131 MB / 10.72 GB, free: 57.36 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/26.29, allocations: 6.375 kB / 10.72 GB, free: 57.35 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.413e-05/26.29, allocations: 27.14 kB / 10.72 GB, free: 57.34 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/26.29, allocations: 12 kB / 10.72 GB, free: 57.33 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/26.3, allocations: 0.5263 MB / 10.72 GB, free: 56.98 MB / 0.6515 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.006823/26.3, allocations: 6.072 MB / 10.72 GB, free: 51.2 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009103/26.3, allocations: 442.8 kB / 10.72 GB, free: 50.91 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002713/26.3, allocations: 200 kB / 10.72 GB, free: 50.79 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002894/26.31, allocations: 2.831 MB / 10.73 GB, free: 47.57 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/26.31, allocations: 42.31 kB / 10.73 GB, free: 47.53 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=46): time 3.126e-06/26.31, allocations: 0 / 10.73 GB, free: 47.53 MB / 0.6515 GB Notification: Performance of matching and sorting (n=54): time 0.008323/26.32, allocations: 1.816 MB / 10.73 GB, free: 46.06 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/26.32, allocations: 63.8 kB / 10.73 GB, free: 45.98 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003197/26.32, allocations: 273.5 kB / 10.73 GB, free: 45.76 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 5.11e-05/26.32, allocations: 37.27 kB / 10.73 GB, free: 45.72 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/26.32, allocations: 231.3 kB / 10.73 GB, free: 45.55 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/26.32, allocations: 195.2 kB / 10.73 GB, free: 45.41 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.581e-05/26.32, allocations: 10.38 kB / 10.73 GB, free: 45.41 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 7.088e-05/26.32, allocations: 354.4 kB / 10.73 GB, free: 45.07 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/26.32, allocations: 173.3 kB / 10.73 GB, free: 44.97 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003111/26.32, allocations: 322.7 kB / 10.73 GB, free: 44.68 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003277/26.32, allocations: 220.8 kB / 10.73 GB, free: 44.54 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/26.32, allocations: 4 kB / 10.73 GB, free: 44.54 MB / 0.6515 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001114/26.32, allocations: 0.666 MB / 10.73 GB, free: 44.06 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/26.32, allocations: 4 kB / 10.73 GB, free: 44.06 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/26.32, allocations: 10.06 kB / 10.73 GB, free: 44.05 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01328/26.33, allocations: 0.5486 MB / 10.73 GB, free: 43.56 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006304/26.33, allocations: 146.3 kB / 10.73 GB, free: 43.43 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/26.33, allocations: 2.983 MB / 10.73 GB, free: 40.35 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005433/26.33, allocations: 47.17 kB / 10.73 GB, free: 40.32 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.302e-05/26.33, allocations: 31.67 kB / 10.73 GB, free: 40.29 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 () * 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.0001792/26.33, allocations: 146.3 kB / 10.73 GB, free: 40.16 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/26.33, allocations: 43.53 kB / 10.73 GB, free: 40.12 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00154/26.34, allocations: 1.046 MB / 10.73 GB, free: 39.41 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/26.34, allocations: 11.98 kB / 10.73 GB, free: 39.4 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/26.34, allocations: 3.938 kB / 10.73 GB, free: 39.39 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009469/26.34, allocations: 1.078 MB / 10.74 GB, free: 38.53 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/26.34, allocations: 1.711 MB / 10.74 GB, free: 37.32 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/26.34, allocations: 0 / 10.74 GB, free: 37.32 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003598/26.34, allocations: 101.6 kB / 10.74 GB, free: 37.23 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003376/26.34, allocations: 380.9 kB / 10.74 GB, free: 36.89 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.972e-05/26.34, allocations: 20.42 kB / 10.74 GB, free: 36.88 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004663/26.34, allocations: 1.136 MB / 10.74 GB, free: 35.75 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/26.34, allocations: 3.938 kB / 10.74 GB, free: 35.75 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/26.34, allocations: 1.117 MB / 10.74 GB, free: 34.97 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002043/26.34, allocations: 141.8 kB / 10.74 GB, free: 34.83 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.011e-05/26.35, allocations: 10.5 kB / 10.74 GB, free: 34.82 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/26.35, allocations: 32.11 kB / 10.74 GB, free: 34.8 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.314e-05/26.35, allocations: 38.17 kB / 10.74 GB, free: 34.77 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/26.35, allocations: 22.42 kB / 10.74 GB, free: 34.75 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0002465/26.35, allocations: 240.6 kB / 10.74 GB, free: 34.56 MB / 0.6515 GB Notification: Performance of sort global known variables: time 3.01e-07/26.35, allocations: 0 / 10.74 GB, free: 34.56 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01623/26.36, allocations: 1.121 MB / 10.74 GB, free: 33.54 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 () * 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.1437/26.51, allocations: 25.24 MB / 10.77 GB, free: 8.652 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.00166/26.51, allocations: 0.6864 MB / 10.77 GB, free: 7.953 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/26.51, allocations: 1.125 kB / 10.77 GB, free: 7.953 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0005646/26.51, allocations: 379.2 kB / 10.77 GB, free: 7.586 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/26.51, allocations: 244.9 kB / 10.77 GB, free: 7.348 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/26.53, allocations: 1.637 MB / 10.77 GB, free: 5.758 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/26.53, allocations: 0.8687 MB / 10.77 GB, free: 4.863 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.0006452/26.53, allocations: 237 kB / 10.77 GB, free: 4.633 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002781/26.53, allocations: 203.3 kB / 10.77 GB, free: 4.434 MB / 0.6515 GB Notification: Performance of SimCode: time 1.262e-06/26.53, allocations: 3.938 kB / 10.77 GB, free: 4.43 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5233/27.05, allocations: 51.37 MB / 10.82 GB, free: 114.3 MB / 0.6671 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001354/27.05, allocations: 160.8 kB / 10.82 GB, free: 114.1 MB / 0.6671 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.778/30.83, allocations: 7.922 kB / 10.82 GB, free: 114.1 MB / 0.6671 GB (rm -f Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_R134a_R134a2.fmu > Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.R134a.R134a2_res.mat does not exist to compare? outputFormat=mat