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.00118/0.00118, allocations: 180 kB / 17.01 MB, free: 5.125 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.53/1.53, allocations: 205.4 MB / 223.1 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.000934/0.0009339, allocations: 98.88 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002584/0.0002584, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.28, allocations: 47.57 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.37/13.65, allocations: 5.796 GB / 6.163 GB, free: 111 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/13.65, allocations: 73.48 kB / 6.163 GB, free: 111 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.84/24.5, allocations: 3.538 GB / 9.702 GB, free: 2.656 MB / 0.6203 GB Notification: Performance of FrontEnd: time 2.445e-06/24.5, allocations: 0 / 9.702 GB, free: 2.656 MB / 0.6203 GB Notification: Performance of Transformations before backend: time 3.049e-05/24.5, allocations: 8 kB / 9.702 GB, free: 2.648 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.03844/24.54, allocations: 1.693 MB / 9.703 GB, free: 1.082 MB / 0.6203 GB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/24.54, allocations: 15.97 kB / 9.703 GB, free: 1.066 MB / 0.6203 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/24.54, allocations: 70.53 kB / 9.703 GB, free: 0.9883 MB / 0.6203 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005802/24.54, allocations: 63.5 kB / 9.703 GB, free: 0.9258 MB / 0.6203 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/24.54, allocations: 313.8 kB / 9.704 GB, free: 0.5938 MB / 0.6203 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/24.54, allocations: 32.61 kB / 9.704 GB, free: 0.5625 MB / 0.6203 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/24.54, allocations: 32 kB / 9.704 GB, free: 0.5312 MB / 0.6203 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008432/24.54, allocations: 455.8 kB / 9.704 GB, free: 52 kB / 0.6203 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/24.54, allocations: 0 / 9.704 GB, free: 52 kB / 0.6203 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.839e-05/24.54, allocations: 19.98 kB / 9.704 GB, free: 32 kB / 0.6203 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/24.54, allocations: 8 kB / 9.704 GB, free: 24 kB / 0.6203 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3937/24.93, allocations: 383.6 kB / 9.705 GB, free: 130.1 MB / 0.6203 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.006635/24.94, allocations: 5.22 MB / 9.71 GB, free: 128.2 MB / 0.6203 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007295/24.94, allocations: 290.4 kB / 9.71 GB, free: 128.2 MB / 0.6203 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00223/24.94, allocations: 2.058 MB / 9.712 GB, free: 126.4 MB / 0.6203 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.756e-05/24.94, allocations: 37.11 kB / 9.712 GB, free: 126.4 MB / 0.6203 GB Notification: Performance of pre-optimization done (n=30): time 2.855e-06/24.94, allocations: 4.5 kB / 9.712 GB, free: 126.4 MB / 0.6203 GB Notification: Performance of matching and sorting (n=34): time 0.004696/24.95, allocations: 1.288 MB / 9.713 GB, free: 126 MB / 0.6203 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/24.95, allocations: 55.22 kB / 9.713 GB, free: 125.9 MB / 0.6203 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/24.95, allocations: 228.7 kB / 9.714 GB, free: 125.8 MB / 0.6203 GB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/24.95, allocations: 35.3 kB / 9.714 GB, free: 125.8 MB / 0.6203 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/24.95, allocations: 193.8 kB / 9.714 GB, free: 125.6 MB / 0.6203 GB Notification: Performance of collectInitialBindings (initialization): time 7.398e-05/24.95, allocations: 118.5 kB / 9.714 GB, free: 125.6 MB / 0.6203 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/24.95, allocations: 12.41 kB / 9.714 GB, free: 125.6 MB / 0.6203 GB Notification: Performance of setup shared object (initialization): time 0.0001014/24.95, allocations: 340.8 kB / 9.714 GB, free: 125.3 MB / 0.6203 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/24.95, allocations: 113.9 kB / 9.714 GB, free: 125.3 MB / 0.6203 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/24.95, allocations: 219.6 kB / 9.714 GB, free: 125.1 MB / 0.6203 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/24.95, allocations: 145 kB / 9.715 GB, free: 125.1 MB / 0.6203 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/24.95, allocations: 4.969 kB / 9.715 GB, free: 125.1 MB / 0.6203 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007334/24.95, allocations: 455.4 kB / 9.715 GB, free: 125.1 MB / 0.6203 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/24.95, allocations: 9.031 kB / 9.715 GB, free: 125.1 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/24.95, allocations: 9.281 kB / 9.715 GB, free: 125.1 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006635/24.95, allocations: 295 kB / 9.715 GB, free: 125.1 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/24.95, allocations: 85.3 kB / 9.715 GB, free: 125.1 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/24.96, allocations: 1.85 MB / 9.717 GB, free: 123.3 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003411/24.96, allocations: 27.28 kB / 9.717 GB, free: 123.3 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.107e-05/24.96, allocations: 17.59 kB / 9.717 GB, free: 123.3 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 () * 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.000235/24.96, allocations: 168.9 kB / 9.717 GB, free: 123.2 MB / 0.6203 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.057e-05/24.96, allocations: 31.69 kB / 9.717 GB, free: 123.2 MB / 0.6203 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009562/24.96, allocations: 0.6902 MB / 9.718 GB, free: 123.1 MB / 0.6203 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/24.96, allocations: 10.94 kB / 9.718 GB, free: 123.1 MB / 0.6203 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/24.96, allocations: 5.594 kB / 9.718 GB, free: 123.1 MB / 0.6203 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006645/24.96, allocations: 0.8629 MB / 9.719 GB, free: 122.6 MB / 0.6203 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001373/24.96, allocations: 1.188 MB / 9.72 GB, free: 122.3 MB / 0.6203 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/24.96, allocations: 2.969 kB / 9.72 GB, free: 122.3 MB / 0.6203 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/24.96, allocations: 68.89 kB / 9.72 GB, free: 122.3 MB / 0.6203 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001812/24.96, allocations: 194.4 kB / 9.72 GB, free: 122.3 MB / 0.6203 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/24.96, allocations: 12.67 kB / 9.72 GB, free: 122.3 MB / 0.6203 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002591/24.96, allocations: 0.573 MB / 9.721 GB, free: 121.8 MB / 0.6203 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/24.96, allocations: 0 / 9.721 GB, free: 121.8 MB / 0.6203 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008107/24.96, allocations: 0.7318 MB / 9.722 GB, free: 121.6 MB / 0.6203 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/24.96, allocations: 129.1 kB / 9.722 GB, free: 121.5 MB / 0.6203 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.595e-05/24.96, allocations: 11.62 kB / 9.722 GB, free: 121.5 MB / 0.6203 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/24.96, allocations: 14.88 kB / 9.722 GB, free: 121.5 MB / 0.6203 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/24.96, allocations: 32.81 kB / 9.722 GB, free: 121.5 MB / 0.6203 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/24.96, allocations: 16.5 kB / 9.722 GB, free: 121.5 MB / 0.6203 GB Notification: Performance of sorting global known variables: time 0.0002087/24.96, allocations: 218.6 kB / 9.722 GB, free: 121.4 MB / 0.6203 GB Notification: Performance of sort global known variables: time 3.91e-07/24.96, allocations: 0 / 9.722 GB, free: 121.4 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.0153/24.98, allocations: 0.8579 MB / 9.723 GB, free: 121.4 MB / 0.6203 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.127/25.11, allocations: 20.23 MB / 9.743 GB, free: 111.3 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.001239/25.11, allocations: 480.4 kB / 9.743 GB, free: 111.2 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 4.778e-06/25.11, allocations: 2.031 kB / 9.743 GB, free: 111.2 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/25.11, allocations: 219.6 kB / 9.743 GB, free: 111.2 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/25.11, allocations: 185 kB / 9.744 GB, free: 111.2 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/25.13, allocations: 4.921 MB / 9.748 GB, free: 108.1 MB / 0.6203 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/25.13, allocations: 0.8202 MB / 9.749 GB, free: 107.4 MB / 0.6203 GB Notification: Performance of simCode: alias equations: time 0.0005064/25.13, allocations: 184.4 kB / 9.749 GB, free: 107.4 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/25.13, allocations: 132.5 kB / 9.749 GB, free: 107.4 MB / 0.6203 GB Notification: Performance of SimCode: time 1.694e-06/25.13, allocations: 0 / 9.749 GB, free: 107.4 MB / 0.6203 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07463/25.2, allocations: 38.62 MB / 9.787 GB, free: 104.9 MB / 0.6203 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/25.2, allocations: 192.9 kB / 9.787 GB, free: 104.7 MB / 0.6203 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.627/28.83, allocations: 6.344 kB / 9.787 GB, free: 104.7 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