Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 101.7 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002601/0.0002601, allocations: 4 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2647, allocations: 50.41 MB / 401.6 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.03/12.3, allocations: 5.751 GB / 6.143 GB, free: 143 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/12.3, allocations: 79.34 kB / 6.143 GB, free: 142.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.149/21.45, allocations: 2.91 GB / 9.053 GB, free: 114 MB / 0.6359 GB Notification: Performance of FrontEnd: time 2.996e-06/21.45, allocations: 0 / 9.053 GB, free: 114 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 1.925e-05/21.45, allocations: 9.891 kB / 9.053 GB, free: 114 MB / 0.6359 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.03626/21.48, allocations: 1.702 MB / 9.054 GB, free: 113.1 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/21.48, allocations: 7.812 kB / 9.054 GB, free: 113.1 MB / 0.6359 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/21.48, allocations: 74.45 kB / 9.054 GB, free: 113 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005764/21.48, allocations: 65.73 kB / 9.055 GB, free: 113 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/21.48, allocations: 308.5 kB / 9.055 GB, free: 112.8 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/21.48, allocations: 22.31 kB / 9.055 GB, free: 112.8 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.36e-05/21.48, allocations: 38.88 kB / 9.055 GB, free: 112.8 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/21.49, allocations: 456 kB / 9.055 GB, free: 112.7 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/21.49, allocations: 7.703 kB / 9.055 GB, free: 112.7 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.026e-05/21.49, allocations: 22.2 kB / 9.055 GB, free: 112.7 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/21.49, allocations: 7.75 kB / 9.055 GB, free: 112.7 MB / 0.6359 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/21.49, allocations: 382.4 kB / 9.056 GB, free: 112.7 MB / 0.6359 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.005919/21.49, allocations: 5.219 MB / 9.061 GB, free: 110.7 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000595/21.49, allocations: 292 kB / 9.061 GB, free: 110.7 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001946/21.49, allocations: 2.059 MB / 9.063 GB, free: 108.9 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/21.49, allocations: 38.66 kB / 9.063 GB, free: 108.8 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=30): time 2.925e-06/21.49, allocations: 0 / 9.063 GB, free: 108.8 MB / 0.6359 GB Notification: Performance of matching and sorting (n=34): time 0.004537/21.5, allocations: 1.288 MB / 9.064 GB, free: 108.4 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/21.5, allocations: 57.22 kB / 9.064 GB, free: 108.3 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/21.5, allocations: 236.6 kB / 9.065 GB, free: 108.2 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 2.457e-05/21.5, allocations: 32.92 kB / 9.065 GB, free: 108.2 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/21.5, allocations: 186.3 kB / 9.065 GB, free: 108.1 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 6.64e-05/21.5, allocations: 122.5 kB / 9.065 GB, free: 108 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/21.5, allocations: 11.5 kB / 9.065 GB, free: 108 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 6.202e-05/21.5, allocations: 343.8 kB / 9.065 GB, free: 107.7 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/21.5, allocations: 105 kB / 9.065 GB, free: 107.7 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001887/21.5, allocations: 227.4 kB / 9.066 GB, free: 107.6 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/21.5, allocations: 149.6 kB / 9.066 GB, free: 107.6 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/21.5, allocations: 3.781 kB / 9.066 GB, free: 107.6 MB / 0.6359 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0006747/21.5, allocations: 459.2 kB / 9.066 GB, free: 107.5 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/21.5, allocations: 4.688 kB / 9.066 GB, free: 107.5 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/21.5, allocations: 4.625 kB / 9.066 GB, free: 107.5 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00666/21.51, allocations: 291.3 kB / 9.067 GB, free: 107.5 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/21.51, allocations: 90.41 kB / 9.067 GB, free: 107.5 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001021/21.51, allocations: 1.844 MB / 9.068 GB, free: 105.7 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/21.51, allocations: 36.3 kB / 9.068 GB, free: 105.7 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/21.51, allocations: 24.44 kB / 9.068 GB, free: 105.7 MB / 0.6359 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.0001778/21.51, allocations: 164.6 kB / 9.069 GB, free: 105.5 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/21.51, allocations: 34.53 kB / 9.069 GB, free: 105.5 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009027/21.51, allocations: 0.7019 MB / 9.069 GB, free: 105.4 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/21.51, allocations: 11.94 kB / 9.069 GB, free: 105.4 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/21.51, allocations: 3.938 kB / 9.069 GB, free: 105.4 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006822/21.51, allocations: 0.8584 MB / 9.07 GB, free: 105 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/21.51, allocations: 1.192 MB / 9.071 GB, free: 104.6 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/21.51, allocations: 2.312 kB / 9.071 GB, free: 104.6 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/21.51, allocations: 64.8 kB / 9.071 GB, free: 104.6 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/21.51, allocations: 191.4 kB / 9.072 GB, free: 104.6 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/21.51, allocations: 7.875 kB / 9.072 GB, free: 104.6 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000278/21.51, allocations: 0.5762 MB / 9.072 GB, free: 104.1 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/21.51, allocations: 0 / 9.072 GB, free: 104.1 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007768/21.52, allocations: 0.7307 MB / 9.073 GB, free: 103.9 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/21.52, allocations: 127.8 kB / 9.073 GB, free: 103.8 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/21.52, allocations: 3.562 kB / 9.073 GB, free: 103.8 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/21.52, allocations: 26.66 kB / 9.073 GB, free: 103.8 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/21.52, allocations: 25.95 kB / 9.073 GB, free: 103.8 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/21.52, allocations: 13.88 kB / 9.073 GB, free: 103.8 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0001984/21.52, allocations: 218 kB / 9.073 GB, free: 103.7 MB / 0.6359 GB Notification: Performance of sort global known variables: time 1.2e-07/21.52, allocations: 0 / 9.073 GB, free: 103.7 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.01783/21.53, allocations: 0.859 MB / 9.074 GB, free: 103.6 MB / 0.6359 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.1237/21.66, allocations: 20.23 MB / 9.094 GB, free: 91.23 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.0008738/21.66, allocations: 486.1 kB / 9.094 GB, free: 90.89 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/21.66, allocations: 0 / 9.094 GB, free: 90.89 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0003156/21.66, allocations: 222.7 kB / 9.095 GB, free: 90.77 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009079/21.66, allocations: 182 kB / 9.095 GB, free: 90.67 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/21.67, allocations: 4.929 MB / 9.1 GB, free: 86.34 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/21.67, allocations: 0.8194 MB / 9.1 GB, free: 85.54 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0004373/21.68, allocations: 184.2 kB / 9.101 GB, free: 85.43 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/21.68, allocations: 138.4 kB / 9.101 GB, free: 85.39 MB / 0.6359 GB Notification: Performance of SimCode: time 9.42e-07/21.68, allocations: 4 kB / 9.101 GB, free: 85.39 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05982/21.74, allocations: 38.6 MB / 9.138 GB, free: 57.68 MB / 0.6359 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001589/21.74, allocations: 189 kB / 9.139 GB, free: 57.44 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.723/25.46, allocations: 0 / 9.139 GB, free: 57.44 MB / 0.6359 GB (rm -f Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat