Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json 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/Complex 4.0.0+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/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.769/1.769, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3888/0.3888, allocations: 40 MB / 310.4 MB, free: 9.98 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005263/0.0005263, allocations: 15.98 kB / 378.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 57.95 MB / 436.8 MB, free: 2.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4384/0.5651, allocations: 163.9 MB / 0.5866 GB, free: 168 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.5762, allocations: 7.721 MB / 0.5941 GB, free: 8.434 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001717/0.578, allocations: 23.75 kB / 0.5942 GB, free: 8.41 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.5792, allocations: 266.4 kB / 0.5944 GB, free: 8.148 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00466/0.5839, allocations: 1.276 MB / 0.5957 GB, free: 6.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.5869, allocations: 0.8875 MB / 0.5965 GB, free: 6 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002809/0.5897, allocations: 2.25 MB / 0.5987 GB, free: 3.746 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007945/0.5906, allocations: 371.7 kB / 0.5991 GB, free: 3.379 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002829/0.5934, allocations: 1.053 MB / 0.6001 GB, free: 2.328 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.5945, allocations: 0.6619 MB / 0.6008 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.777e-05/0.5947, allocations: 32 kB / 0.6008 GB, free: 1.633 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.5966, allocations: 0.6012 MB / 0.6014 GB, free: 1.031 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.5969, allocations: 231.3 kB / 0.6016 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.5972, allocations: 165.3 kB / 0.6017 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.5986, allocations: 0.9976 MB / 0.6027 GB, free: 15.64 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.5986, allocations: 0 / 0.6027 GB, free: 15.64 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5986, allocations: 0 / 0.6027 GB, free: 15.64 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.5986, allocations: 4 kB / 0.6027 GB, free: 15.63 MB / 478.1 MB 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.002208/0.6008, allocations: 0.9869 MB / 0.6037 GB, free: 14.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.6009, allocations: 12.56 kB / 0.6037 GB, free: 14.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008008/0.6017, allocations: 131.1 kB / 0.6038 GB, free: 14.46 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008898/0.6026, allocations: 499.8 kB / 0.6043 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.6027, allocations: 100.4 kB / 0.6044 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.569e-05/0.6028, allocations: 48 kB / 0.6044 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.6041, allocations: 0.8213 MB / 0.6052 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.6041, allocations: 3.938 kB / 0.6053 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.6042, allocations: 24 kB / 0.6053 GB, free: 12.85 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.443e-05/0.6043, allocations: 40.92 kB / 0.6053 GB, free: 12.81 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.6053, allocations: 0.6283 MB / 0.6059 GB, free: 12.18 MB / 478.1 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.004394/0.6097, allocations: 3.974 MB / 0.6098 GB, free: 7.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.6103, allocations: 351.6 kB / 0.6101 GB, free: 7.605 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.6106, allocations: 169.3 kB / 0.6103 GB, free: 7.438 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.611, allocations: 357.5 kB / 0.6106 GB, free: 7.035 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.611, allocations: 38.84 kB / 0.6107 GB, free: 6.988 MB / 478.1 MB Notification: Performance of pre-optimization done (n=34): time 2.324e-06/0.611, allocations: 3.938 kB / 0.6107 GB, free: 6.984 MB / 478.1 MB Notification: Performance of matching and sorting (n=39): time 0.004935/0.616, allocations: 1.677 MB / 0.6123 GB, free: 5.238 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.081e-05/0.6161, allocations: 136.5 kB / 0.6125 GB, free: 5.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006882/0.6168, allocations: 0.6016 MB / 0.613 GB, free: 4.465 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.6168, allocations: 37.7 kB / 0.6131 GB, free: 4.422 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.6171, allocations: 359 kB / 0.6134 GB, free: 4.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/0.6172, allocations: 145.9 kB / 0.6136 GB, free: 3.922 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.6172, allocations: 16 kB / 0.6136 GB, free: 3.906 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6174, allocations: 378.8 kB / 0.6139 GB, free: 3.527 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003423/0.6177, allocations: 201.8 kB / 0.6141 GB, free: 3.332 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000539/0.6183, allocations: 0.5047 MB / 0.6146 GB, free: 2.684 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.6188, allocations: 291.7 kB / 0.6149 GB, free: 2.398 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.6188, allocations: 4 kB / 0.6149 GB, free: 2.395 MB / 478.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001375/0.6201, allocations: 0.8806 MB / 0.6158 GB, free: 1.504 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/0.6202, allocations: 8 kB / 0.6158 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.6202, allocations: 16.17 kB / 0.6158 GB, free: 1.48 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.6215, allocations: 316.6 kB / 0.6161 GB, free: 1.168 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.6219, allocations: 123.8 kB / 0.6162 GB, free: 1.047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.6229, allocations: 0.9352 MB / 0.6171 GB, free: 88 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.6234, allocations: 39.92 kB / 0.6172 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/0.6235, allocations: 68.03 kB / 0.6172 GB, free: 15.98 MB / 494.1 MB 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.0003124/0.6238, allocations: 249.5 kB / 0.6175 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.6239, allocations: 67.16 kB / 0.6175 GB, free: 15.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.6254, allocations: 0.6823 MB / 0.6182 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.6254, allocations: 4 kB / 0.6182 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.6254, allocations: 4 kB / 0.6182 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.6255, allocations: 0 / 0.6182 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.6275, allocations: 1.606 MB / 0.6198 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6275, allocations: 4.031 kB / 0.6198 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/0.6285, allocations: 211.7 kB / 0.62 GB, free: 12.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.503e-05/0.6286, allocations: 24.84 kB / 0.62 GB, free: 12.96 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.6286, allocations: 16 kB / 0.62 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00188/0.6305, allocations: 2.702 MB / 0.6227 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6305, allocations: 0 / 0.6227 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001117/0.6317, allocations: 0.7963 MB / 0.6234 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.6319, allocations: 196.2 kB / 0.6236 GB, free: 8.945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.632, allocations: 8 kB / 0.6236 GB, free: 8.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003821/0.6324, allocations: 28.05 kB / 0.6236 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.6325, allocations: 35.95 kB / 0.6237 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.6326, allocations: 47.97 kB / 0.6237 GB, free: 8.828 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004937/0.6331, allocations: 427 kB / 0.6241 GB, free: 8.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6331, allocations: 0 / 0.6241 GB, free: 8.414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009891/0.6341, allocations: 292 kB / 0.6244 GB, free: 8.129 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.0008062/0.6349, allocations: 387.2 kB / 0.6248 GB, free: 7.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001045/0.636, allocations: 0.5302 MB / 0.6253 GB, free: 7.219 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.636, allocations: 0 / 0.6253 GB, free: 7.219 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000925/0.6369, allocations: 423.3 kB / 0.6257 GB, free: 6.797 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.6384, allocations: 342.1 kB / 0.626 GB, free: 6.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.6406, allocations: 1.549 MB / 0.6275 GB, free: 4.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.6411, allocations: 0.9339 MB / 0.6285 GB, free: 3.922 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009597/0.642, allocations: 258 kB / 0.6287 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002945/0.6423, allocations: 99.41 kB / 0.6288 GB, free: 3.57 MB / 494.1 MB Notification: Performance of SimCode: time 4.21e-07/0.6424, allocations: 0 / 0.6288 GB, free: 3.57 MB / 494.1 MB Notification: Performance of Templates: time 0.2309/0.8732, allocations: 17.08 MB / 0.6455 GB, free: 154.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.sim & ./ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.pipe 2>&1) Environment - environmentSimulation: