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.002043/0.002044, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.66/1.66, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 87.59 kB / 292.1 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.68e-05, allocations: 4 kB / 350.6 MB, free: 2.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1318, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.35/15.48, allocations: 5.751 GB / 6.144 GB, free: 14 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/15.49, allocations: 75.95 kB / 6.144 GB, free: 13.93 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 11.59/27.08, allocations: 2.916 GB / 9.06 GB, free: 139.9 MB / 0.6515 GB Notification: Performance of FrontEnd: time 1.713e-06/27.08, allocations: 0.75 kB / 9.06 GB, free: 139.9 MB / 0.6515 GB Notification: Performance of Transformations before backend: time 1.988e-05/27.08, allocations: 6.406 kB / 9.06 GB, free: 139.9 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.04517/27.12, allocations: 1.68 MB / 9.062 GB, free: 139.3 MB / 0.6515 GB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/27.12, allocations: 10.59 kB / 9.062 GB, free: 139.3 MB / 0.6515 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.35e-05/27.12, allocations: 67.52 kB / 9.062 GB, free: 139.2 MB / 0.6515 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006253/27.12, allocations: 69.08 kB / 9.062 GB, free: 139.2 MB / 0.6515 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/27.12, allocations: 314.7 kB / 9.063 GB, free: 139 MB / 0.6515 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.648e-05/27.12, allocations: 25.61 kB / 9.063 GB, free: 139 MB / 0.6515 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/27.12, allocations: 33.56 kB / 9.063 GB, free: 139 MB / 0.6515 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008522/27.12, allocations: 459.2 kB / 9.063 GB, free: 138.9 MB / 0.6515 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/27.12, allocations: 9.156 kB / 9.063 GB, free: 138.9 MB / 0.6515 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/27.12, allocations: 14.05 kB / 9.063 GB, free: 138.9 MB / 0.6515 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/27.12, allocations: 10.12 kB / 9.063 GB, free: 138.9 MB / 0.6515 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006181/27.12, allocations: 388.2 kB / 9.063 GB, free: 138.9 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.007017/27.13, allocations: 5.214 MB / 9.069 GB, free: 136.9 MB / 0.6515 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008929/27.13, allocations: 294.1 kB / 9.069 GB, free: 136.9 MB / 0.6515 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002575/27.13, allocations: 127.4 kB / 9.069 GB, free: 136.9 MB / 0.6515 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002924/27.14, allocations: 2.057 MB / 9.071 GB, free: 135.1 MB / 0.6515 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/27.14, allocations: 41.33 kB / 9.071 GB, free: 135 MB / 0.6515 GB Notification: Performance of pre-optimization done (n=30): time 3.136e-06/27.14, allocations: 0 / 9.071 GB, free: 135 MB / 0.6515 GB Notification: Performance of matching and sorting (n=34): time 0.005203/27.14, allocations: 1.136 MB / 9.072 GB, free: 134.7 MB / 0.6515 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/27.14, allocations: 55.61 kB / 9.072 GB, free: 134.7 MB / 0.6515 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003749/27.14, allocations: 231.8 kB / 9.072 GB, free: 134.6 MB / 0.6515 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/27.14, allocations: 32.73 kB / 9.072 GB, free: 134.5 MB / 0.6515 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/27.14, allocations: 184.8 kB / 9.073 GB, free: 134.4 MB / 0.6515 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/27.14, allocations: 123.7 kB / 9.073 GB, free: 134.3 MB / 0.6515 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/27.14, allocations: 6.938 kB / 9.073 GB, free: 134.3 MB / 0.6515 GB Notification: Performance of setup shared object (initialization): time 0.0001051/27.14, allocations: 339.5 kB / 9.073 GB, free: 134 MB / 0.6515 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/27.14, allocations: 111.1 kB / 9.073 GB, free: 134 MB / 0.6515 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003004/27.14, allocations: 219.2 kB / 9.073 GB, free: 133.9 MB / 0.6515 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/27.14, allocations: 151.2 kB / 9.074 GB, free: 133.9 MB / 0.6515 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/27.14, allocations: 3.156 kB / 9.074 GB, free: 133.9 MB / 0.6515 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001013/27.14, allocations: 448.8 kB / 9.074 GB, free: 133.8 MB / 0.6515 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/27.14, allocations: 7.531 kB / 9.074 GB, free: 133.8 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/27.14, allocations: 2.641 kB / 9.074 GB, free: 133.8 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007038/27.15, allocations: 294.9 kB / 9.074 GB, free: 133.8 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003733/27.15, allocations: 92.34 kB / 9.074 GB, free: 133.8 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/27.15, allocations: 1.842 MB / 9.076 GB, free: 132 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/27.15, allocations: 31.91 kB / 9.076 GB, free: 132 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/27.15, allocations: 18.36 kB / 9.076 GB, free: 132 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.000136/27.15, allocations: 134.7 kB / 9.076 GB, free: 131.9 MB / 0.6515 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.835e-05/27.15, allocations: 32.39 kB / 9.076 GB, free: 131.9 MB / 0.6515 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/27.15, allocations: 0.6952 MB / 9.077 GB, free: 131.8 MB / 0.6515 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/27.15, allocations: 8.016 kB / 9.077 GB, free: 131.8 MB / 0.6515 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/27.15, allocations: 0 / 9.077 GB, free: 131.8 MB / 0.6515 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007756/27.15, allocations: 0.8555 MB / 9.078 GB, free: 131.4 MB / 0.6515 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001513/27.16, allocations: 1.193 MB / 9.079 GB, free: 131.1 MB / 0.6515 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/27.16, allocations: 0.5 kB / 9.079 GB, free: 131.1 MB / 0.6515 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/27.16, allocations: 61.72 kB / 9.079 GB, free: 131.1 MB / 0.6515 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/27.16, allocations: 192.7 kB / 9.079 GB, free: 131.1 MB / 0.6515 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.597e-05/27.16, allocations: 11.41 kB / 9.079 GB, free: 131.1 MB / 0.6515 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002418/27.16, allocations: 0.5777 MB / 9.08 GB, free: 130.5 MB / 0.6515 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/27.16, allocations: 2.062 kB / 9.08 GB, free: 130.5 MB / 0.6515 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009018/27.16, allocations: 0.7144 MB / 9.081 GB, free: 130.4 MB / 0.6515 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/27.16, allocations: 128.7 kB / 9.081 GB, free: 130.3 MB / 0.6515 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.587e-05/27.16, allocations: 6.531 kB / 9.081 GB, free: 130.3 MB / 0.6515 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/27.16, allocations: 28 kB / 9.081 GB, free: 130.2 MB / 0.6515 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/27.16, allocations: 18.31 kB / 9.081 GB, free: 130.2 MB / 0.6515 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.46e-05/27.16, allocations: 14.86 kB / 9.081 GB, free: 130.2 MB / 0.6515 GB Notification: Performance of sorting global known variables: time 0.0002408/27.16, allocations: 219.3 kB / 9.081 GB, free: 130.2 MB / 0.6515 GB Notification: Performance of sort global known variables: time 1.6e-07/27.16, allocations: 3.531 kB / 9.081 GB, free: 130.2 MB / 0.6515 GB Notification: Performance of remove unused functions: time 0.01814/27.18, allocations: 0.867 MB / 9.082 GB, free: 130 MB / 0.6515 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 () * 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.1302/27.31, allocations: 20.23 MB / 9.102 GB, free: 119.9 MB / 0.6515 GB Notification: Performance of simCode: created initialization part: time 0.001212/27.31, allocations: 487.8 kB / 9.102 GB, free: 119.8 MB / 0.6515 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/27.31, allocations: 2.953 kB / 9.102 GB, free: 119.8 MB / 0.6515 GB Notification: Performance of simCode: created simulation system equations: time 0.0004139/27.31, allocations: 219.3 kB / 9.102 GB, free: 119.8 MB / 0.6515 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001159/27.31, allocations: 182.2 kB / 9.102 GB, free: 119.8 MB / 0.6515 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01537/27.33, allocations: 1.11 MB / 9.103 GB, free: 119.4 MB / 0.6515 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002782/27.33, allocations: 0.8134 MB / 9.104 GB, free: 118.7 MB / 0.6515 GB Notification: Performance of simCode: alias equations: time 0.0005011/27.33, allocations: 188 kB / 9.104 GB, free: 118.7 MB / 0.6515 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001808/27.33, allocations: 135 kB / 9.105 GB, free: 118.7 MB / 0.6515 GB Notification: Performance of SimCode: time 1.273e-06/27.33, allocations: 0 / 9.105 GB, free: 118.7 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07229/27.4, allocations: 40.33 MB / 9.144 GB, free: 114.9 MB / 0.6515 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002306/27.4, allocations: 160 kB / 9.144 GB, free: 114.7 MB / 0.6515 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.691/31.09, allocations: 3.625 kB / 9.144 GB, free: 114.7 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