Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 177 kB / 17.06 MB, free: 5.094 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009583/0.000958, allocations: 94.17 kB / 292.1 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4537/0.4537, allocations: 44.21 MB / 387.5 MB, free: 38.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004574/0.0004575, allocations: 12 kB / 460 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4919/0.4924, allocations: 61.9 MB / 0.5096 GB, free: 37.82 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.394/1.887, allocations: 0.5217 GB / 1.031 GB, free: 68.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/1.887, allocations: 99.91 kB / 1.031 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8662/2.753, allocations: 207 MB / 1.234 GB, free: 74.87 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.605e-06/2.753, allocations: 0 / 1.234 GB, free: 74.87 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.527e-05/2.754, allocations: 19.98 kB / 1.234 GB, free: 74.85 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003812/2.757, allocations: 1.119 MB / 1.235 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/2.757, allocations: 12.03 kB / 1.235 GB, free: 73.67 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000384/2.758, allocations: 102.5 kB / 1.235 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00117/2.759, allocations: 135.1 kB / 1.235 GB, free: 73.43 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/2.761, allocations: 0.5404 MB / 1.235 GB, free: 72.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/2.761, allocations: 100.4 kB / 1.236 GB, free: 72.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/2.761, allocations: 55.86 kB / 1.236 GB, free: 72.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/2.762, allocations: 0.819 MB / 1.236 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/2.762, allocations: 3.938 kB / 1.236 GB, free: 71.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/2.763, allocations: 24 kB / 1.236 GB, free: 71.75 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.278e-05/2.763, allocations: 36.98 kB / 1.236 GB, free: 71.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/2.764, allocations: 0.6205 MB / 1.237 GB, free: 71.09 MB / 0.5261 GB 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.004642/2.768, allocations: 3.937 MB / 1.241 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004853/2.769, allocations: 339.9 kB / 1.241 GB, free: 66.56 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001285/2.769, allocations: 89.38 kB / 1.241 GB, free: 66.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/2.769, allocations: 38.84 kB / 1.241 GB, free: 66.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.665e-06/2.769, allocations: 4 kB / 1.241 GB, free: 66.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=39): time 0.005763/2.775, allocations: 1.647 MB / 1.243 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/2.775, allocations: 132.5 kB / 1.243 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000747/2.776, allocations: 0.5421 MB / 1.244 GB, free: 63.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.081e-05/2.776, allocations: 29.7 kB / 1.244 GB, free: 63.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/2.776, allocations: 370.9 kB / 1.244 GB, free: 63.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/2.776, allocations: 142 kB / 1.244 GB, free: 63.42 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/2.776, allocations: 16 kB / 1.244 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001292/2.776, allocations: 374.8 kB / 1.245 GB, free: 63.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003202/2.777, allocations: 193.9 kB / 1.245 GB, free: 62.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004675/2.777, allocations: 0.5047 MB / 1.245 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/2.778, allocations: 308.2 kB / 1.245 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/2.778, allocations: 0 / 1.245 GB, free: 61.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001356/2.779, allocations: 0.8686 MB / 1.246 GB, free: 61.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/2.779, allocations: 17.52 kB / 1.246 GB, free: 60.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/2.779, allocations: 8 kB / 1.246 GB, free: 60.98 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/2.78, allocations: 315.3 kB / 1.247 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/2.781, allocations: 119.8 kB / 1.247 GB, free: 60.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001027/2.782, allocations: 0.9274 MB / 1.248 GB, free: 59.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/2.783, allocations: 47.88 kB / 1.248 GB, free: 59.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/2.783, allocations: 67.98 kB / 1.248 GB, free: 59.49 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0004736/2.783, allocations: 249.6 kB / 1.248 GB, free: 59.24 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001796/2.783, allocations: 71.23 kB / 1.248 GB, free: 59.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001648/2.785, allocations: 0.8577 MB / 1.249 GB, free: 58.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/2.785, allocations: 7.953 kB / 1.249 GB, free: 58.28 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/2.785, allocations: 0 / 1.249 GB, free: 58.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/2.785, allocations: 0 / 1.249 GB, free: 58.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/2.787, allocations: 1.441 MB / 1.25 GB, free: 56.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/2.787, allocations: 0 / 1.25 GB, free: 56.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009974/2.788, allocations: 215.9 kB / 1.251 GB, free: 56.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001036/2.788, allocations: 24.84 kB / 1.251 GB, free: 56.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.687e-05/2.789, allocations: 27.92 kB / 1.251 GB, free: 56.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/2.79, allocations: 2.696 MB / 1.253 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/2.79, allocations: 4.031 kB / 1.253 GB, free: 53.48 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/2.792, allocations: 0.8746 MB / 1.254 GB, free: 52.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/2.792, allocations: 184.2 kB / 1.254 GB, free: 52.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/2.792, allocations: 12.06 kB / 1.254 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005683/2.793, allocations: 31.92 kB / 1.254 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/2.793, allocations: 43.89 kB / 1.254 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/2.793, allocations: 39.98 kB / 1.254 GB, free: 52.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006503/2.794, allocations: 431 kB / 1.255 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/2.794, allocations: 0 / 1.255 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002016/2.796, allocations: 331.8 kB / 1.255 GB, free: 51.46 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003665/2.8, allocations: 2.679 MB / 1.258 GB, free: 48.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00123/2.801, allocations: 0.5497 MB / 1.258 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/2.801, allocations: 0 / 1.258 GB, free: 48.17 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008871/2.802, allocations: 395.9 kB / 1.259 GB, free: 47.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/2.803, allocations: 326.5 kB / 1.259 GB, free: 47.46 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008348/2.812, allocations: 10.87 MB / 1.27 GB, free: 36.32 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004629/2.812, allocations: 0.9456 MB / 1.271 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001301/2.814, allocations: 458.4 kB / 1.271 GB, free: 34.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/2.814, allocations: 275.3 kB / 1.271 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.904e-06/2.814, allocations: 0 / 1.271 GB, free: 34.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3969/3.211, allocations: 35.03 MB / 1.305 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001947/3.211, allocations: 268.6 kB / 1.306 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.302/6.514, allocations: 2.422 kB / 1.306 GB, free: 110.5 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1)