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.00179/0.00179, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.5 MB / 230.7 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009887/0.0009887, allocations: 94.11 kB / 281.6 MB, free: 5.34 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.236/0.236, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.976e-05, allocations: 4.219 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1602, allocations: 61.91 MB / 0.4948 GB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.752/1.912, allocations: 0.521 GB / 1.016 GB, free: 69.75 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/1.913, allocations: 97.17 kB / 1.016 GB, free: 69.69 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8223/2.735, allocations: 203.9 MB / 1.215 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.683e-06/2.735, allocations: 4 kB / 1.215 GB, free: 69.05 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.147e-05/2.735, allocations: 20.12 kB / 1.215 GB, free: 69.03 MB / 0.5105 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.002299/2.737, allocations: 1.033 MB / 1.216 GB, free: 67.96 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/2.737, allocations: 15.98 kB / 1.216 GB, free: 67.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/2.738, allocations: 131 kB / 1.216 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008709/2.739, allocations: 0.5411 MB / 1.217 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/2.739, allocations: 88.7 kB / 1.217 GB, free: 67.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/2.739, allocations: 28 kB / 1.217 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007791/2.74, allocations: 0.5297 MB / 1.217 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/2.741, allocations: 0.739 MB / 1.218 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/2.741, allocations: 7.984 kB / 1.218 GB, free: 65.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-05/2.741, allocations: 4 kB / 1.218 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.844e-05/2.741, allocations: 45.23 kB / 1.218 GB, free: 65.71 MB / 0.5105 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.003552/2.745, allocations: 3.946 MB / 1.222 GB, free: 61.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/2.745, allocations: 251.2 kB / 1.222 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/2.745, allocations: 133.2 kB / 1.222 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 7.094e-05/2.745, allocations: 100.6 kB / 1.222 GB, free: 61.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/2.745, allocations: 38.78 kB / 1.222 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.074e-06/2.745, allocations: 0 / 1.222 GB, free: 60.98 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33): time 0.0046/2.75, allocations: 1.377 MB / 1.224 GB, free: 59.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/2.75, allocations: 132.5 kB / 1.224 GB, free: 59.37 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004522/2.75, allocations: 466 kB / 1.224 GB, free: 58.91 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.019e-05/2.751, allocations: 29.7 kB / 1.224 GB, free: 58.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/2.751, allocations: 398.2 kB / 1.225 GB, free: 58.48 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/2.751, allocations: 122.2 kB / 1.225 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/2.751, allocations: 0 / 1.225 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001231/2.751, allocations: 366.8 kB / 1.225 GB, free: 57.99 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/2.751, allocations: 177.5 kB / 1.225 GB, free: 57.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/2.752, allocations: 497.1 kB / 1.226 GB, free: 57.19 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005098/2.752, allocations: 295.7 kB / 1.226 GB, free: 56.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/2.752, allocations: 4 kB / 1.226 GB, free: 56.89 MB / 0.5105 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001201/2.753, allocations: 0.7941 MB / 1.227 GB, free: 56.09 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/2.753, allocations: 12 kB / 1.227 GB, free: 56.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/2.753, allocations: 11.95 kB / 1.227 GB, free: 56.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/2.754, allocations: 269 kB / 1.227 GB, free: 55.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003564/2.755, allocations: 127.8 kB / 1.227 GB, free: 55.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008654/2.756, allocations: 0.9487 MB / 1.228 GB, free: 54.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005912/2.756, allocations: 31.88 kB / 1.228 GB, free: 54.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/2.756, allocations: 67.98 kB / 1.228 GB, free: 54.61 MB / 0.5105 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 () * 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.0001822/2.757, allocations: 136.7 kB / 1.229 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006897/2.757, allocations: 409.6 kB / 1.229 GB, free: 54.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.108e-05/2.757, allocations: 55.34 kB / 1.229 GB, free: 54 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/2.759, allocations: 0.6114 MB / 1.23 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/2.759, allocations: 4 kB / 1.23 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/2.759, allocations: 3.984 kB / 1.23 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/2.759, allocations: 0 / 1.23 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/2.76, allocations: 0.9824 MB / 1.231 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/2.76, allocations: 0 / 1.231 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009407/2.761, allocations: 195.8 kB / 1.231 GB, free: 52.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.969e-05/2.761, allocations: 28.88 kB / 1.231 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/2.761, allocations: 8 kB / 1.231 GB, free: 52.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/2.762, allocations: 2.577 MB / 1.233 GB, free: 49.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/2.762, allocations: 4.25 kB / 1.233 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/2.763, allocations: 0.7009 MB / 1.234 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/2.763, allocations: 168.4 kB / 1.234 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.701e-05/2.763, allocations: 4 kB / 1.234 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003932/2.764, allocations: 23.95 kB / 1.234 GB, free: 48.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.731e-05/2.764, allocations: 31.95 kB / 1.234 GB, free: 48.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-05/2.764, allocations: 39.94 kB / 1.234 GB, free: 48.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003952/2.764, allocations: 338.9 kB / 1.235 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/2.764, allocations: 0 / 1.235 GB, free: 47.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001334/2.766, allocations: 291.8 kB / 1.235 GB, free: 47.67 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * 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.00259/2.768, allocations: 2.266 MB / 1.237 GB, free: 45.49 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009128/2.769, allocations: 495.2 kB / 1.238 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/2.769, allocations: 4.938 kB / 1.238 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007331/2.77, allocations: 357.6 kB / 1.238 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/2.771, allocations: 250.3 kB / 1.238 GB, free: 44.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002086/2.773, allocations: 1.051 MB / 1.239 GB, free: 43.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/2.774, allocations: 0.9411 MB / 1.24 GB, free: 42.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001027/2.775, allocations: 404.8 kB / 1.24 GB, free: 41.95 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/2.775, allocations: 263.3 kB / 1.241 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/2.775, allocations: 0 / 1.241 GB, free: 41.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05247/2.828, allocations: 24.84 MB / 1.265 GB, free: 16.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/2.828, allocations: 210.6 kB / 1.265 GB, free: 16.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.119/5.947, allocations: 0 / 1.265 GB, free: 16.7 MB / 0.5105 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)