Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Media_Examples_R134a_R134a1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.R134a.R134a1,fileNamePrefix="Modelica_3_2_3_cpp_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.002435/0.002435, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.122/2.122, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 93.53 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.449e-05, allocations: 4 kB / 314.9 MB, free: 9.074 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3562, allocations: 47.57 MB / 362.4 MB, free: 45.73 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.44/17.8, allocations: 5.795 GB / 6.149 GB, free: 23.53 MB / 427.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/17.8, allocations: 70.47 kB / 6.149 GB, free: 23.49 MB / 427.1 MB Notification: Performance of FrontEnd - DAE generated: time 16.18/33.98, allocations: 3.454 GB / 9.604 GB, free: 102.5 MB / 0.6048 GB Notification: Performance of FrontEnd: time 3.336e-06/33.98, allocations: 0 / 9.604 GB, free: 102.5 MB / 0.6048 GB Notification: Performance of Transformations before backend: time 2.849e-05/33.98, allocations: 17.53 kB / 9.604 GB, free: 102.5 MB / 0.6048 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.05421/34.04, allocations: 1.673 MB / 9.605 GB, free: 101.1 MB / 0.6048 GB Notification: Performance of prepare preOptimizeDAE: time 5.953e-05/34.04, allocations: 12.03 kB / 9.605 GB, free: 101.1 MB / 0.6048 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007879/34.04, allocations: 62.38 kB / 9.605 GB, free: 101 MB / 0.6048 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006178/34.04, allocations: 313.7 kB / 9.606 GB, free: 100.8 MB / 0.6048 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/34.04, allocations: 15.95 kB / 9.606 GB, free: 100.8 MB / 0.6048 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.616e-05/34.04, allocations: 16 kB / 9.606 GB, free: 100.8 MB / 0.6048 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007805/34.04, allocations: 329.2 kB / 9.606 GB, free: 100.6 MB / 0.6048 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007797/34.04, allocations: 382.2 kB / 9.606 GB, free: 100.3 MB / 0.6048 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/34.04, allocations: 0 / 9.606 GB, free: 100.3 MB / 0.6048 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/34.04, allocations: 4 kB / 9.607 GB, free: 100.3 MB / 0.6048 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/34.04, allocations: 12 kB / 9.607 GB, free: 100.3 MB / 0.6048 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.01034/34.05, allocations: 5.561 MB / 9.612 GB, free: 95.69 MB / 0.6048 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000514/34.05, allocations: 214.8 kB / 9.612 GB, free: 95.55 MB / 0.6048 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002471/34.05, allocations: 111 kB / 9.612 GB, free: 95.49 MB / 0.6048 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002902/34.06, allocations: 1.647 MB / 9.614 GB, free: 93.73 MB / 0.6048 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/34.06, allocations: 33.62 kB / 9.614 GB, free: 93.69 MB / 0.6048 GB Notification: Performance of pre-optimization done (n=28): time 3.267e-06/34.06, allocations: 0 / 9.614 GB, free: 93.69 MB / 0.6048 GB Notification: Performance of matching and sorting (n=32): time 0.01243/34.07, allocations: 1.43 MB / 9.615 GB, free: 92.71 MB / 0.6048 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/34.07, allocations: 55.41 kB / 9.615 GB, free: 92.64 MB / 0.6048 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003152/34.07, allocations: 212.8 kB / 9.616 GB, free: 92.48 MB / 0.6048 GB Notification: Performance of collectPreVariables (initialization): time 4.145e-05/34.07, allocations: 25.7 kB / 9.616 GB, free: 92.45 MB / 0.6048 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/34.07, allocations: 261.4 kB / 9.616 GB, free: 92.24 MB / 0.6048 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/34.07, allocations: 105.7 kB / 9.616 GB, free: 92.17 MB / 0.6048 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/34.07, allocations: 0 / 9.616 GB, free: 92.17 MB / 0.6048 GB Notification: Performance of setup shared object (initialization): time 8.2e-05/34.07, allocations: 325.3 kB / 9.616 GB, free: 91.86 MB / 0.6048 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/34.07, allocations: 105.7 kB / 9.616 GB, free: 91.8 MB / 0.6048 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003242/34.07, allocations: 210.7 kB / 9.617 GB, free: 91.61 MB / 0.6048 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003447/34.07, allocations: 336.5 kB / 9.617 GB, free: 91.42 MB / 0.6048 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/34.07, allocations: 2.016 kB / 9.617 GB, free: 91.42 MB / 0.6048 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.004342/34.08, allocations: 0.5793 MB / 9.617 GB, free: 91.04 MB / 0.6048 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/34.08, allocations: 12.78 kB / 9.617 GB, free: 91.02 MB / 0.6048 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/34.08, allocations: 4 kB / 9.617 GB, free: 91.02 MB / 0.6048 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003635/34.08, allocations: 52.89 kB / 9.617 GB, free: 90.98 MB / 0.6048 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/34.08, allocations: 90.52 kB / 9.618 GB, free: 90.91 MB / 0.6048 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003209/34.08, allocations: 1.89 MB / 9.619 GB, free: 89.03 MB / 0.6048 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005822/34.08, allocations: 33.89 kB / 9.619 GB, free: 89 MB / 0.6048 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.682e-05/34.08, allocations: 15.62 kB / 9.619 GB, free: 88.99 MB / 0.6048 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.0001679/34.08, allocations: 115 kB / 9.62 GB, free: 88.88 MB / 0.6048 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003935/34.09, allocations: 492.7 kB / 9.62 GB, free: 88.56 MB / 0.6048 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/34.09, allocations: 35.67 kB / 9.62 GB, free: 88.53 MB / 0.6048 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/34.09, allocations: 0.6817 MB / 9.621 GB, free: 88.14 MB / 0.6048 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/34.09, allocations: 7.938 kB / 9.621 GB, free: 88.13 MB / 0.6048 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/34.09, allocations: 0 / 9.621 GB, free: 88.13 MB / 0.6048 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001916/34.09, allocations: 0.864 MB / 9.622 GB, free: 87.41 MB / 0.6048 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/34.09, allocations: 1.113 MB / 9.623 GB, free: 86.71 MB / 0.6048 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/34.09, allocations: 0 / 9.623 GB, free: 86.71 MB / 0.6048 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/34.09, allocations: 59.97 kB / 9.623 GB, free: 86.66 MB / 0.6048 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003495/34.09, allocations: 60.58 kB / 9.623 GB, free: 86.62 MB / 0.6048 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.344e-05/34.09, allocations: 12.83 kB / 9.623 GB, free: 86.62 MB / 0.6048 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005311/34.1, allocations: 0.5934 MB / 9.623 GB, free: 86.05 MB / 0.6048 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/34.1, allocations: 3.953 kB / 9.623 GB, free: 86.05 MB / 0.6048 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/34.1, allocations: 0.7673 MB / 9.624 GB, free: 85.51 MB / 0.6048 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/34.1, allocations: 110 kB / 9.624 GB, free: 85.39 MB / 0.6048 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/34.1, allocations: 3.953 kB / 9.624 GB, free: 85.39 MB / 0.6048 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000386/34.1, allocations: 17.88 kB / 9.624 GB, free: 85.38 MB / 0.6048 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.64e-05/34.1, allocations: 22.55 kB / 9.624 GB, free: 85.37 MB / 0.6048 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-05/34.1, allocations: 8 kB / 9.624 GB, free: 85.36 MB / 0.6048 GB Notification: Performance of sorting global known variables: time 0.0002138/34.1, allocations: 163 kB / 9.624 GB, free: 85.24 MB / 0.6048 GB Notification: Performance of sort global known variables: time 4.11e-07/34.1, allocations: 4 kB / 9.624 GB, free: 85.23 MB / 0.6048 GB Notification: Performance of remove unused functions: time 0.01912/34.12, allocations: 0.828 MB / 9.625 GB, free: 84.55 MB / 0.6048 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.1914/34.31, allocations: 20.48 MB / 9.645 GB, free: 64.81 MB / 0.6048 GB Notification: Performance of simCode: created initialization part: time 0.001335/34.31, allocations: 449.7 kB / 9.646 GB, free: 64.48 MB / 0.6048 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/34.31, allocations: 0.875 kB / 9.646 GB, free: 64.48 MB / 0.6048 GB Notification: Performance of simCode: created simulation system equations: time 0.0006258/34.31, allocations: 214.2 kB / 9.646 GB, free: 64.36 MB / 0.6048 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001454/34.31, allocations: 148 kB / 9.646 GB, free: 64.27 MB / 0.6048 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01792/34.33, allocations: 1.087 MB / 9.647 GB, free: 63.38 MB / 0.6048 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/34.33, allocations: 0.8114 MB / 9.648 GB, free: 62.6 MB / 0.6048 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/34.33, allocations: 120.6 kB / 9.648 GB, free: 62.57 MB / 0.6048 GB Notification: Performance of SimCode: time 1.242e-06/34.33, allocations: 0 / 9.648 GB, free: 62.57 MB / 0.6048 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.718/38.05, allocations: 36.33 MB / 9.683 GB, free: 34.2 MB / 0.6048 GB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_R134a_R134a1.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Media.Examples.R134a.R134a1_res.mat does not exist to compare? outputFormat=mat