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.001481/0.001481, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 221.5 MB / 230.3 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 95.47 kB / 281.2 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.271e-05/2.258e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.124, allocations: 50.41 MB / 387.6 MB, free: 7.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.37/16.49, allocations: 5.75 GB / 6.128 GB, free: 112.4 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001796/16.49, allocations: 72.02 kB / 6.129 GB, free: 112.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 10.8/27.29, allocations: 2.875 GB / 9.004 GB, free: 80.57 MB / 0.6359 GB Notification: Performance of FrontEnd: time 1.733e-06/27.29, allocations: 0 / 9.004 GB, free: 80.57 MB / 0.6359 GB Notification: Performance of Transformations before backend: time 3.883e-05/27.29, allocations: 8 kB / 9.004 GB, free: 80.57 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.05844/27.35, allocations: 1.672 MB / 9.006 GB, free: 79.2 MB / 0.6359 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/27.35, allocations: 15.97 kB / 9.006 GB, free: 79.18 MB / 0.6359 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008415/27.35, allocations: 67.36 kB / 9.006 GB, free: 79.12 MB / 0.6359 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006401/27.35, allocations: 318.9 kB / 9.006 GB, free: 78.86 MB / 0.6359 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/27.35, allocations: 12 kB / 9.006 GB, free: 78.85 MB / 0.6359 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.56e-05/27.35, allocations: 19.78 kB / 9.006 GB, free: 78.84 MB / 0.6359 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000596/27.35, allocations: 326.5 kB / 9.006 GB, free: 78.66 MB / 0.6359 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/27.35, allocations: 385.3 kB / 9.007 GB, free: 78.38 MB / 0.6359 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/27.35, allocations: 4 kB / 9.007 GB, free: 78.38 MB / 0.6359 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/27.35, allocations: 0 / 9.007 GB, free: 78.38 MB / 0.6359 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/27.35, allocations: 8 kB / 9.007 GB, free: 78.37 MB / 0.6359 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.00695/27.36, allocations: 5.555 MB / 9.012 GB, free: 73.75 MB / 0.6359 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/27.36, allocations: 217.2 kB / 9.012 GB, free: 73.62 MB / 0.6359 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/27.36, allocations: 110.1 kB / 9.012 GB, free: 73.55 MB / 0.6359 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/27.36, allocations: 1.647 MB / 9.014 GB, free: 71.79 MB / 0.6359 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/27.36, allocations: 42.31 kB / 9.014 GB, free: 71.75 MB / 0.6359 GB Notification: Performance of pre-optimization done (n=28): time 2.876e-06/27.36, allocations: 0 / 9.014 GB, free: 71.75 MB / 0.6359 GB Notification: Performance of matching and sorting (n=32): time 0.00829/27.37, allocations: 1.432 MB / 9.015 GB, free: 70.76 MB / 0.6359 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/27.37, allocations: 55.41 kB / 9.015 GB, free: 70.69 MB / 0.6359 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002687/27.37, allocations: 201.6 kB / 9.016 GB, free: 70.54 MB / 0.6359 GB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/27.37, allocations: 25.7 kB / 9.016 GB, free: 70.51 MB / 0.6359 GB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/27.37, allocations: 206.1 kB / 9.016 GB, free: 70.36 MB / 0.6359 GB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/27.37, allocations: 106.8 kB / 9.016 GB, free: 70.29 MB / 0.6359 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/27.37, allocations: 0 / 9.016 GB, free: 70.29 MB / 0.6359 GB Notification: Performance of setup shared object (initialization): time 7.876e-05/27.37, allocations: 339.7 kB / 9.016 GB, free: 69.97 MB / 0.6359 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/27.37, allocations: 97.44 kB / 9.016 GB, free: 69.92 MB / 0.6359 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/27.37, allocations: 217.3 kB / 9.017 GB, free: 69.71 MB / 0.6359 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002242/27.37, allocations: 324 kB / 9.017 GB, free: 69.54 MB / 0.6359 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/27.37, allocations: 0 / 9.017 GB, free: 69.54 MB / 0.6359 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002721/27.38, allocations: 0.5965 MB / 9.018 GB, free: 69.14 MB / 0.6359 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/27.38, allocations: 9.203 kB / 9.018 GB, free: 69.13 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/27.38, allocations: 4 kB / 9.018 GB, free: 69.13 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002421/27.38, allocations: 55.77 kB / 9.018 GB, free: 69.09 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003129/27.38, allocations: 94.55 kB / 9.018 GB, free: 69.01 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/27.38, allocations: 1.892 MB / 9.02 GB, free: 67.12 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003343/27.38, allocations: 23.5 kB / 9.02 GB, free: 67.11 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/27.38, allocations: 22.95 kB / 9.02 GB, free: 67.09 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 () * 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.0001173/27.38, allocations: 124.8 kB / 9.02 GB, free: 66.97 MB / 0.6359 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002478/27.38, allocations: 490.8 kB / 9.02 GB, free: 66.65 MB / 0.6359 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/27.38, allocations: 23.72 kB / 9.02 GB, free: 66.63 MB / 0.6359 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/27.38, allocations: 0.6826 MB / 9.021 GB, free: 66.23 MB / 0.6359 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/27.38, allocations: 7.953 kB / 9.021 GB, free: 66.22 MB / 0.6359 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/27.38, allocations: 5.078 kB / 9.021 GB, free: 66.22 MB / 0.6359 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001187/27.38, allocations: 0.8622 MB / 9.022 GB, free: 65.5 MB / 0.6359 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001869/27.39, allocations: 1.1 MB / 9.023 GB, free: 64.81 MB / 0.6359 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/27.39, allocations: 8.031 kB / 9.023 GB, free: 64.8 MB / 0.6359 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/27.39, allocations: 64.28 kB / 9.023 GB, free: 64.75 MB / 0.6359 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002188/27.39, allocations: 64.59 kB / 9.023 GB, free: 64.71 MB / 0.6359 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/27.39, allocations: 0 / 9.023 GB, free: 64.71 MB / 0.6359 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003467/27.39, allocations: 0.6052 MB / 9.023 GB, free: 64.14 MB / 0.6359 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/27.39, allocations: 0 / 9.023 GB, free: 64.14 MB / 0.6359 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/27.39, allocations: 0.7665 MB / 9.024 GB, free: 63.56 MB / 0.6359 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/27.39, allocations: 115.3 kB / 9.024 GB, free: 63.44 MB / 0.6359 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.002e-05/27.39, allocations: 0 / 9.024 GB, free: 63.44 MB / 0.6359 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/27.39, allocations: 9.688 kB / 9.024 GB, free: 63.43 MB / 0.6359 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/27.39, allocations: 27.06 kB / 9.024 GB, free: 63.41 MB / 0.6359 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.489e-05/27.39, allocations: 16 kB / 9.024 GB, free: 63.4 MB / 0.6359 GB Notification: Performance of sorting global known variables: time 0.0001583/27.39, allocations: 163.6 kB / 9.025 GB, free: 63.25 MB / 0.6359 GB Notification: Performance of sort global known variables: time 1.4e-07/27.39, allocations: 0 / 9.025 GB, free: 63.25 MB / 0.6359 GB Notification: Performance of remove unused functions: time 0.01822/27.41, allocations: 0.8262 MB / 9.025 GB, free: 62.51 MB / 0.6359 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse2,$cse3.phase,$cse4) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * 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.1377/27.55, allocations: 20.48 MB / 9.045 GB, free: 42.45 MB / 0.6359 GB Notification: Performance of simCode: created initialization part: time 0.001031/27.55, allocations: 448.9 kB / 9.046 GB, free: 42.02 MB / 0.6359 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/27.55, allocations: 0 / 9.046 GB, free: 42.02 MB / 0.6359 GB Notification: Performance of simCode: created simulation system equations: time 0.0003713/27.55, allocations: 206.7 kB / 9.046 GB, free: 41.83 MB / 0.6359 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009219/27.55, allocations: 149.4 kB / 9.046 GB, free: 41.73 MB / 0.6359 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/27.57, allocations: 1.078 MB / 9.047 GB, free: 40.77 MB / 0.6359 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/27.57, allocations: 0.807 MB / 9.048 GB, free: 39.99 MB / 0.6359 GB Notification: Performance of simCode: alias equations: time 0.0005595/27.57, allocations: 232.4 kB / 9.048 GB, free: 39.85 MB / 0.6359 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/27.57, allocations: 122.4 kB / 9.048 GB, free: 39.74 MB / 0.6359 GB Notification: Performance of SimCode: time 1.272e-06/27.57, allocations: 3.938 kB / 9.048 GB, free: 39.73 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06703/27.63, allocations: 32.9 MB / 9.08 GB, free: 7.34 MB / 0.6359 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002483/27.63, allocations: 123.7 kB / 9.081 GB, free: 7.148 MB / 0.6359 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.457/31.09, allocations: 0 / 9.081 GB, free: 7.148 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