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.00138/0.001379, allocations: 181.2 kB / 17.01 MB, free: 5.125 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.641/1.641, allocations: 205.4 MB / 223.1 MB, free: 9.129 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.001736/0.001736, allocations: 86.72 kB / 271.5 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002863/0.0002866, allocations: 8 kB / 328.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3095, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.91/14.22, allocations: 6.597 GB / 6.964 GB, free: 92.95 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/14.22, allocations: 77.95 kB / 6.965 GB, free: 92.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.581/16.8, allocations: 0.6639 GB / 7.628 GB, free: 33.74 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.325e-06/16.8, allocations: 4.094 kB / 7.628 GB, free: 33.74 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.587e-05/16.8, allocations: 17.16 kB / 7.629 GB, free: 33.74 MB / 458.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.01233/16.82, allocations: 2.429 MB / 7.631 GB, free: 32.39 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/16.82, allocations: 11.34 kB / 7.631 GB, free: 32.39 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004617/16.82, allocations: 108 kB / 7.631 GB, free: 32.35 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007914/16.82, allocations: 81.69 kB / 7.631 GB, free: 32.32 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009801/16.82, allocations: 440.6 kB / 7.631 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.032e-05/16.82, allocations: 50.88 kB / 7.632 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/16.82, allocations: 62.12 kB / 7.632 GB, free: 32.06 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/16.82, allocations: 0.7799 MB / 7.632 GB, free: 32.02 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/16.82, allocations: 11.78 kB / 7.632 GB, free: 32.01 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.554e-05/16.82, allocations: 28.78 kB / 7.632 GB, free: 32.01 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/16.82, allocations: 13.38 kB / 7.632 GB, free: 32.01 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002082/16.82, allocations: 1.003 MB / 7.633 GB, free: 32 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/16.84, allocations: 12.46 MB / 7.646 GB, free: 21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/16.84, allocations: 0.7757 MB / 7.646 GB, free: 20.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03689/16.88, allocations: 30.66 MB / 7.676 GB, free: 22.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/16.88, allocations: 50.66 kB / 7.676 GB, free: 22.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=78): time 3.306e-06/16.88, allocations: 0 / 7.676 GB, free: 22.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=88): time 0.01265/16.89, allocations: 3.483 MB / 7.68 GB, free: 21.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/16.89, allocations: 66.84 kB / 7.68 GB, free: 21.28 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004459/16.89, allocations: 317.8 kB / 7.68 GB, free: 21.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000141/16.89, allocations: 41.8 kB / 7.68 GB, free: 21.14 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/16.89, allocations: 243.5 kB / 7.68 GB, free: 21 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/16.89, allocations: 305.4 kB / 7.681 GB, free: 20.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/16.89, allocations: 18.19 kB / 7.681 GB, free: 20.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003223/16.89, allocations: 364.1 kB / 7.681 GB, free: 20.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005741/16.89, allocations: 359.7 kB / 7.681 GB, free: 20.49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008387/16.89, allocations: 474.1 kB / 7.682 GB, free: 20.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00107/16.9, allocations: 432.6 kB / 7.682 GB, free: 20.37 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/16.9, allocations: 3.953 kB / 7.682 GB, free: 20.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002526/16.9, allocations: 1.089 MB / 7.683 GB, free: 20.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/16.9, allocations: 6.562 kB / 7.683 GB, free: 20.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/16.9, allocations: 2.688 kB / 7.683 GB, free: 20.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008241/16.9, allocations: 171.2 kB / 7.683 GB, free: 20.21 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007503/16.9, allocations: 195 kB / 7.684 GB, free: 20.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003081/16.9, allocations: 3.93 MB / 7.687 GB, free: 16.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006791/16.9, allocations: 67.55 kB / 7.688 GB, free: 16.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/16.9, allocations: 49.84 kB / 7.688 GB, free: 16.5 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 () * Number of clocked 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.0004888/16.9, allocations: 222 kB / 7.688 GB, free: 16.37 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005221/16.9, allocations: 69.61 kB / 7.688 GB, free: 16.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/16.91, allocations: 1.317 MB / 7.689 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/16.91, allocations: 6.969 kB / 7.689 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/16.91, allocations: 3.562 kB / 7.689 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002063/16.91, allocations: 1.335 MB / 7.69 GB, free: 15.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004044/16.91, allocations: 2.002 MB / 7.692 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/16.91, allocations: 0 / 7.692 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007876/16.91, allocations: 166.9 kB / 7.693 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001948/16.92, allocations: 305.5 kB / 7.693 GB, free: 15.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000109/16.92, allocations: 40.88 kB / 7.693 GB, free: 15.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/16.92, allocations: 1.296 MB / 7.694 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/16.92, allocations: 0 / 7.694 GB, free: 13.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003199/16.92, allocations: 1.455 MB / 7.696 GB, free: 13.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004192/16.92, allocations: 137.2 kB / 7.696 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/16.92, allocations: 22.78 kB / 7.696 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007327/16.92, allocations: 55.56 kB / 7.696 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/16.92, allocations: 62.55 kB / 7.696 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000154/16.92, allocations: 52.25 kB / 7.696 GB, free: 13.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004103/16.92, allocations: 281.1 kB / 7.696 GB, free: 13.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.4e-07/16.92, allocations: 1.562 kB / 7.696 GB, free: 13.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01298/16.94, allocations: 2.312 MB / 7.698 GB, free: 12.95 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 () * Number of clocked 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.02228/16.96, allocations: 5.447 MB / 7.704 GB, free: 11.45 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002754/16.96, allocations: 1.172 MB / 7.705 GB, free: 11.17 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/16.96, allocations: 6.75 kB / 7.705 GB, free: 11.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001167/16.96, allocations: 0.4995 MB / 7.705 GB, free: 11.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/16.96, allocations: 362.1 kB / 7.706 GB, free: 11.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/16.98, allocations: 7.067 MB / 7.713 GB, free: 6.938 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005691/16.98, allocations: 0.9286 MB / 7.714 GB, free: 6.223 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001084/16.98, allocations: 212 kB / 7.714 GB, free: 6.191 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/16.98, allocations: 229.5 kB / 7.714 GB, free: 6.047 MB / 490.7 MB Notification: Performance of SimCode: time 1.182e-06/16.98, allocations: 0 / 7.714 GB, free: 6.047 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4779/17.46, allocations: 84.61 MB / 7.797 GB, free: 58.25 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/17.46, allocations: 246.4 kB / 7.797 GB, free: 58.01 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.149/22.61, allocations: 4 kB / 7.797 GB, free: 58 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