Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air",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.00179/0.00179, allocations: 180 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.65/1.65, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008955/0.0008955, allocations: 98.59 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003038/0.0003038, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3132, allocations: 47.57 MB / 375.9 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.613, allocations: 0.5888 GB / 0.9559 GB, free: 8.676 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004611/1.614, allocations: 96.88 kB / 0.956 GB, free: 8.617 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5182/2.132, allocations: 152.4 MB / 1.105 GB, free: 31.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.013e-06/2.132, allocations: 0 / 1.105 GB, free: 31.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/2.132, allocations: 8 kB / 1.105 GB, free: 31.55 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009297/2.133, allocations: 0.6206 MB / 1.105 GB, free: 30.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/2.133, allocations: 8.031 kB / 1.105 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.594e-05/2.133, allocations: 62.53 kB / 1.105 GB, free: 30.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002404/2.134, allocations: 47.61 kB / 1.106 GB, free: 30.76 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003083/2.134, allocations: 274.9 kB / 1.106 GB, free: 30.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/2.134, allocations: 20.56 kB / 1.106 GB, free: 30.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.027e-05/2.134, allocations: 24 kB / 1.106 GB, free: 30.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004354/2.134, allocations: 311.7 kB / 1.106 GB, free: 30.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/2.134, allocations: 11.89 kB / 1.106 GB, free: 30.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/2.134, allocations: 12 kB / 1.106 GB, free: 30.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/2.134, allocations: 4 kB / 1.106 GB, free: 30.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/2.135, allocations: 201.6 kB / 1.106 GB, free: 29.85 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.001344/2.136, allocations: 1.585 MB / 1.108 GB, free: 28.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/2.136, allocations: 163.1 kB / 1.108 GB, free: 27.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.516e-05/2.136, allocations: 4.188 kB / 1.108 GB, free: 27.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/2.136, allocations: 38.75 kB / 1.108 GB, free: 27.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=22): time 1.774e-06/2.136, allocations: 0 / 1.108 GB, free: 27.89 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.004913/2.141, allocations: 1.627 MB / 1.11 GB, free: 26.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/2.141, allocations: 59.39 kB / 1.11 GB, free: 26.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001871/2.142, allocations: 224.2 kB / 1.11 GB, free: 25.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/2.142, allocations: 29.7 kB / 1.11 GB, free: 25.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.825e-05/2.142, allocations: 180.2 kB / 1.11 GB, free: 25.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/2.142, allocations: 98.62 kB / 1.11 GB, free: 25.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/2.142, allocations: 11.94 kB / 1.11 GB, free: 25.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.101e-05/2.142, allocations: 334.8 kB / 1.111 GB, free: 25.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/2.142, allocations: 83.97 kB / 1.111 GB, free: 25.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/2.142, allocations: 187.8 kB / 1.111 GB, free: 24.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/2.142, allocations: 115.9 kB / 1.111 GB, free: 24.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/2.142, allocations: 0 / 1.111 GB, free: 24.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005136/2.143, allocations: 395.5 kB / 1.111 GB, free: 24.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/2.143, allocations: 7.953 kB / 1.111 GB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/2.143, allocations: 4 kB / 1.111 GB, free: 24.35 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/2.143, allocations: 73.67 kB / 1.111 GB, free: 24.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003114/2.143, allocations: 83.89 kB / 1.111 GB, free: 24.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009496/2.144, allocations: 1.864 MB / 1.113 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002296/2.145, allocations: 16.34 kB / 1.113 GB, free: 22.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/2.145, allocations: 43.98 kB / 1.113 GB, free: 22.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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.0001553/2.145, allocations: 157.7 kB / 1.114 GB, free: 21.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.762e-05/2.145, allocations: 27.72 kB / 1.114 GB, free: 21.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008195/2.146, allocations: 448.7 kB / 1.114 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/2.146, allocations: 4 kB / 1.114 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/2.146, allocations: 0 / 1.114 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003834/2.146, allocations: 0.5643 MB / 1.115 GB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/2.147, allocations: 0.7176 MB / 1.115 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/2.147, allocations: 0 / 1.115 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002857/2.147, allocations: 67.89 kB / 1.115 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.28e-05/2.147, allocations: 24.84 kB / 1.115 GB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/2.147, allocations: 15.98 kB / 1.115 GB, free: 19.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005443/2.148, allocations: 1.288 MB / 1.117 GB, free: 18.49 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/2.148, allocations: 8.031 kB / 1.117 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/2.148, allocations: 0.4901 MB / 1.117 GB, free: 17.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/2.148, allocations: 104.8 kB / 1.117 GB, free: 17.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/2.149, allocations: 8 kB / 1.117 GB, free: 17.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/2.149, allocations: 16.05 kB / 1.117 GB, free: 17.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/2.149, allocations: 27.92 kB / 1.117 GB, free: 17.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.478e-05/2.149, allocations: 31.98 kB / 1.117 GB, free: 17.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001427/2.149, allocations: 182 kB / 1.117 GB, free: 17.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.149, allocations: 0 / 1.117 GB, free: 17.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007515/2.15, allocations: 191.9 kB / 1.118 GB, free: 17.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.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 (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001758/2.152, allocations: 1.857 MB / 1.119 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000583/2.152, allocations: 367.2 kB / 1.12 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/2.152, allocations: 4 kB / 1.12 GB, free: 15.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/2.152, allocations: 226.6 kB / 1.12 GB, free: 14.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000744/2.153, allocations: 160.6 kB / 1.12 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/2.156, allocations: 3.843 MB / 1.124 GB, free: 10.76 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/2.156, allocations: 0.7687 MB / 1.125 GB, free: 9.965 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005202/2.156, allocations: 114.9 kB / 1.125 GB, free: 9.855 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002398/2.157, allocations: 127.4 kB / 1.125 GB, free: 9.73 MB / 426.7 MB Notification: Performance of SimCode: time 5.35e-06/2.157, allocations: 0 / 1.125 GB, free: 9.73 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2697/2.426, allocations: 22.99 MB / 1.147 GB, free: 93.81 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/2.426, allocations: 225.2 kB / 1.148 GB, free: 93.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/4.916, allocations: 0 / 1.148 GB, free: 93.57 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Air.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat