Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2",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.001048/0.001048, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0011/0.0011, allocations: 82.7 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.246e-05, allocations: 0 / 322.5 MB, free: 17.26 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.3/14.41, allocations: 6.597 GB / 6.959 GB, free: 62.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/14.41, allocations: 77.78 kB / 6.959 GB, free: 62.66 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.44/16.85, allocations: 0.6631 GB / 7.622 GB, free: 20.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.182e-06/16.85, allocations: 0 / 7.622 GB, free: 20.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.763e-05/16.85, allocations: 17.02 kB / 7.622 GB, free: 20.01 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.009959/16.86, allocations: 2.382 MB / 7.624 GB, free: 18.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.929e-05/16.86, allocations: 10.38 kB / 7.624 GB, free: 18.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001575/16.86, allocations: 103.9 kB / 7.624 GB, free: 18.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005302/16.86, allocations: 82.67 kB / 7.624 GB, free: 18.46 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/16.86, allocations: 441.2 kB / 7.625 GB, free: 18.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.969e-05/16.86, allocations: 45.12 kB / 7.625 GB, free: 18.12 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.838e-05/16.86, allocations: 63.94 kB / 7.625 GB, free: 18.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/16.87, allocations: 0.776 MB / 7.626 GB, free: 17.78 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/16.87, allocations: 7.312 kB / 7.626 GB, free: 17.78 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.271e-05/16.87, allocations: 30.56 kB / 7.626 GB, free: 17.76 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/16.87, allocations: 18.61 kB / 7.626 GB, free: 17.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/16.87, allocations: 0.9751 MB / 7.627 GB, free: 17.46 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01406/16.88, allocations: 12.49 MB / 7.639 GB, free: 21.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/16.88, allocations: 0.7624 MB / 7.64 GB, free: 21.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/16.88, allocations: 398.2 kB / 7.64 GB, free: 21.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03632/16.92, allocations: 30.72 MB / 7.67 GB, free: 21.97 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.524e-05/16.92, allocations: 47.97 kB / 7.67 GB, free: 21.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 2.625e-06/16.92, allocations: 0 / 7.67 GB, free: 21.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.009775/16.93, allocations: 3.041 MB / 7.673 GB, free: 20.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/16.93, allocations: 67.7 kB / 7.673 GB, free: 20.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/16.93, allocations: 316.5 kB / 7.673 GB, free: 20.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/16.93, allocations: 44.8 kB / 7.674 GB, free: 20.51 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/16.93, allocations: 237 kB / 7.674 GB, free: 20.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/16.93, allocations: 313.4 kB / 7.674 GB, free: 20.08 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/16.93, allocations: 15.44 kB / 7.674 GB, free: 20.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/16.93, allocations: 363.4 kB / 7.674 GB, free: 19.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/16.93, allocations: 344.1 kB / 7.675 GB, free: 19.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007547/16.93, allocations: 473.5 kB / 7.675 GB, free: 19.36 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007542/16.93, allocations: 416.6 kB / 7.676 GB, free: 19.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/16.93, allocations: 0 / 7.676 GB, free: 19.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002187/16.94, allocations: 1.078 MB / 7.677 GB, free: 18.78 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/16.94, allocations: 7.672 kB / 7.677 GB, free: 18.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/16.94, allocations: 3.469 kB / 7.677 GB, free: 18.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000762/16.94, allocations: 173.5 kB / 7.677 GB, free: 18.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007003/16.94, allocations: 193.4 kB / 7.677 GB, free: 18.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/16.94, allocations: 3.906 MB / 7.681 GB, free: 14.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/16.94, allocations: 67.11 kB / 7.681 GB, free: 14.81 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.427e-05/16.94, allocations: 50.72 kB / 7.681 GB, free: 14.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 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.0001846/16.94, allocations: 148.2 kB / 7.681 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003272/16.94, allocations: 62.03 kB / 7.681 GB, free: 14.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/16.94, allocations: 1.311 MB / 7.682 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/16.94, allocations: 11.19 kB / 7.682 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/16.94, allocations: 0 / 7.682 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001647/16.95, allocations: 1.312 MB / 7.684 GB, free: 13.13 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002852/16.95, allocations: 1.972 MB / 7.686 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/16.95, allocations: 3.062 kB / 7.686 GB, free: 12.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006772/16.95, allocations: 177 kB / 7.686 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/16.95, allocations: 305.7 kB / 7.686 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.978e-05/16.95, allocations: 38.19 kB / 7.686 GB, free: 12.11 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007211/16.95, allocations: 1.291 MB / 7.687 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/16.95, allocations: 6.109 kB / 7.687 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/16.95, allocations: 1.42 MB / 7.689 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/16.95, allocations: 145 kB / 7.689 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.61e-05/16.95, allocations: 19.22 kB / 7.689 GB, free: 10.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/16.95, allocations: 58.42 kB / 7.689 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/16.95, allocations: 62.33 kB / 7.689 GB, free: 10.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.024e-05/16.95, allocations: 51.2 kB / 7.689 GB, free: 10.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000272/16.95, allocations: 281.2 kB / 7.689 GB, free: 9.867 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/16.95, allocations: 0 / 7.689 GB, free: 9.867 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00955/16.96, allocations: 2.313 MB / 7.692 GB, free: 7.902 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02193/16.99, allocations: 5.423 MB / 7.697 GB, free: 3.441 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002368/16.99, allocations: 1.152 MB / 7.698 GB, free: 2.328 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-05/16.99, allocations: 4 kB / 7.698 GB, free: 2.324 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000912/16.99, allocations: 496.1 kB / 7.699 GB, free: 1.867 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001883/16.99, allocations: 358 kB / 7.699 GB, free: 1.613 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2945/17.29, allocations: 2.471 MB / 7.701 GB, free: 69.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007272/17.29, allocations: 0.9296 MB / 7.702 GB, free: 68.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001262/17.29, allocations: 210.2 kB / 7.702 GB, free: 68.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/17.29, allocations: 230.9 kB / 7.703 GB, free: 68.45 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/17.29, allocations: 1.156 kB / 7.703 GB, free: 68.45 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1454/17.43, allocations: 87.7 MB / 7.788 GB, free: 62.22 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/17.43, allocations: 214.6 kB / 7.788 GB, free: 62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.636/22.07, allocations: 4 kB / 7.788 GB, free: 61.99 MB / 490.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat