Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.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.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 225.6 MB / 234.8 MB, free: 3.266 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 91.92 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.744e-05/2.753e-05, allocations: 4 kB / 343.8 MB, free: 8.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1433, allocations: 51.47 MB / 395.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.98/17.12, allocations: 5.751 GB / 6.137 GB, free: 105.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/17.12, allocations: 73.39 kB / 6.137 GB, free: 105.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.953/27.08, allocations: 2.884 GB / 9.021 GB, free: 130.7 MB / 0.6515 GB Notification: Performance of FrontEnd: time 3.266e-06/27.08, allocations: 4.594 kB / 9.021 GB, free: 130.7 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 3.127e-05/27.08, allocations: 7.5 kB / 9.021 GB, free: 130.7 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.05178/27.13, allocations: 1.675 MB / 9.022 GB, free: 129.8 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/27.13, allocations: 9.734 kB / 9.022 GB, free: 129.8 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006913/27.13, allocations: 68.02 kB / 9.022 GB, free: 129.8 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/27.13, allocations: 315.7 kB / 9.023 GB, free: 129.6 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/27.13, allocations: 14.39 kB / 9.023 GB, free: 129.6 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/27.13, allocations: 18.81 kB / 9.023 GB, free: 129.6 MB / 0.6515 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005536/27.13, allocations: 321.6 kB / 9.023 GB, free: 129.6 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/27.13, allocations: 381.2 kB / 9.023 GB, free: 129.5 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.904e-05/27.13, allocations: 2.062 kB / 9.023 GB, free: 129.5 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/27.13, allocations: 6.344 kB / 9.023 GB, free: 129.5 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/27.13, allocations: 7.062 kB / 9.023 GB, free: 129.5 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.006314/27.14, allocations: 5.565 MB / 9.029 GB, free: 127.1 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/27.14, allocations: 218.2 kB / 9.029 GB, free: 127.1 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/27.14, allocations: 107.7 kB / 9.029 GB, free: 127.1 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001863/27.14, allocations: 1.644 MB / 9.031 GB, free: 125.7 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/27.14, allocations: 37.47 kB / 9.031 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/27.14, allocations: 0 / 9.031 GB, free: 125.6 MB / 0.6515 GB Notification: Performance of matching and sorting (n=32): time 0.008307/27.15, allocations: 1.431 MB / 9.032 GB, free: 125.3 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.721e-05/27.15, allocations: 61.83 kB / 9.032 GB, free: 125.3 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/27.15, allocations: 200.9 kB / 9.032 GB, free: 125.2 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/27.15, allocations: 27.34 kB / 9.032 GB, free: 125.1 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/27.15, allocations: 201.6 kB / 9.033 GB, free: 125 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/27.15, allocations: 113.5 kB / 9.033 GB, free: 124.9 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/27.15, allocations: 0 / 9.033 GB, free: 124.9 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0001056/27.15, allocations: 336.5 kB / 9.033 GB, free: 124.6 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/27.15, allocations: 98.66 kB / 9.033 GB, free: 124.6 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002054/27.15, allocations: 214.3 kB / 9.033 GB, free: 124.5 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/27.15, allocations: 326.1 kB / 9.034 GB, free: 124.5 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/27.15, allocations: 3.312 kB / 9.034 GB, free: 124.5 MB / 0.6515 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002859/27.15, allocations: 0.5937 MB / 9.034 GB, free: 124.4 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/27.15, allocations: 9.375 kB / 9.034 GB, free: 124.4 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/27.15, allocations: 3.688 kB / 9.034 GB, free: 124.4 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002459/27.15, allocations: 58.02 kB / 9.034 GB, free: 124.4 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/27.15, allocations: 90.92 kB / 9.034 GB, free: 124.4 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/27.16, allocations: 1.899 MB / 9.036 GB, free: 122.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/27.16, allocations: 25.78 kB / 9.036 GB, free: 122.7 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/27.16, allocations: 20.92 kB / 9.036 GB, free: 122.7 MB / 0.6515 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.0001244/27.16, allocations: 117.5 kB / 9.036 GB, free: 122.6 MB / 0.6515 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002544/27.16, allocations: 488.5 kB / 9.037 GB, free: 122.5 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/27.16, allocations: 33.58 kB / 9.037 GB, free: 122.5 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/27.16, allocations: 0.6721 MB / 9.037 GB, free: 122.4 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/27.16, allocations: 10.67 kB / 9.037 GB, free: 122.4 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/27.16, allocations: 0 / 9.037 GB, free: 122.4 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001275/27.16, allocations: 0.8613 MB / 9.038 GB, free: 121.9 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/27.16, allocations: 1.109 MB / 9.039 GB, free: 121.6 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/27.16, allocations: 0 / 9.039 GB, free: 121.6 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/27.16, allocations: 63.66 kB / 9.039 GB, free: 121.6 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002245/27.16, allocations: 60.19 kB / 9.04 GB, free: 121.6 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/27.16, allocations: 3.969 kB / 9.04 GB, free: 121.6 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003905/27.17, allocations: 0.603 MB / 9.04 GB, free: 121.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.154e-05/27.17, allocations: 6.953 kB / 9.04 GB, free: 121.1 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/27.17, allocations: 0.7656 MB / 9.041 GB, free: 120.9 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/27.17, allocations: 118.5 kB / 9.041 GB, free: 120.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.249e-05/27.17, allocations: 2.75 kB / 9.041 GB, free: 120.7 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/27.17, allocations: 15.7 kB / 9.041 GB, free: 120.7 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.945e-05/27.17, allocations: 28.89 kB / 9.041 GB, free: 120.7 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/27.17, allocations: 9.203 kB / 9.041 GB, free: 120.7 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0001712/27.17, allocations: 167.2 kB / 9.041 GB, free: 120.7 MB / 0.6515 GB Notification: Performance of sort global known variables: time 1.41e-07/27.17, allocations: 0 / 9.041 GB, free: 120.7 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.02182/27.19, allocations: 0.8325 MB / 9.042 GB, free: 120.5 MB / 0.6515 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.1376/27.33, allocations: 20.49 MB / 9.062 GB, free: 109.9 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.001037/27.33, allocations: 457 kB / 9.062 GB, free: 109.8 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/27.33, allocations: 0 / 9.062 GB, free: 109.8 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0004163/27.33, allocations: 209.3 kB / 9.063 GB, free: 109.8 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/27.33, allocations: 134.6 kB / 9.063 GB, free: 109.8 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/27.35, allocations: 1.072 MB / 9.064 GB, free: 109.3 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002903/27.35, allocations: 0.8038 MB / 9.065 GB, free: 108.6 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.0005199/27.35, allocations: 237.7 kB / 9.065 GB, free: 108.6 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/27.35, allocations: 124.4 kB / 9.065 GB, free: 108.6 MB / 0.6515 GB Notification: Performance of SimCode: time 6.92e-07/27.35, allocations: 0 / 9.065 GB, free: 108.6 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0732/27.42, allocations: 32.98 MB / 9.097 GB, free: 93.55 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/27.42, allocations: 120.3 kB / 9.097 GB, free: 93.36 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.326/30.75, allocations: 9.188 kB / 9.097 GB, free: 93.36 MB / 0.6515 GB (rm -f Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_trunk_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat