Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004171/0.004176, allocations: 369 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.908/3.908, allocations: 388.9 MB / 405.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.004172/0.004172, allocations: 232.8 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5052/0.5052, allocations: 80.01 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004708, allocations: 14.66 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5577/0.6626, allocations: 134.2 MB / 0.8112 GB, free: 5.555 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01132/0.674, allocations: 5.343 MB / 0.8164 GB, free: 212 kB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.6751, allocations: 31.75 kB / 0.8164 GB, free: 180 kB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.6763, allocations: 254.4 kB / 0.8167 GB, free: 15.93 MB / 410.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:826:36-827:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:824:36-825:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003227/0.6796, allocations: 0.8472 MB / 0.8175 GB, free: 15.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00361/0.6832, allocations: 0.8023 MB / 0.8183 GB, free: 14.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003637/0.6869, allocations: 2.195 MB / 0.8204 GB, free: 12.08 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009186/0.6878, allocations: 377.1 kB / 0.8208 GB, free: 11.71 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001594/0.6895, allocations: 0.6265 MB / 0.8214 GB, free: 11.08 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001639/0.6911, allocations: 0.6852 MB / 0.8221 GB, free: 10.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.6913, allocations: 32 kB / 0.8221 GB, free: 10.36 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001592/0.6929, allocations: 423.2 kB / 0.8225 GB, free: 9.949 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003928/0.6934, allocations: 227.3 kB / 0.8227 GB, free: 9.727 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000322/0.6937, allocations: 165.3 kB / 0.8229 GB, free: 9.559 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001593/0.6953, allocations: 0.8027 MB / 0.8236 GB, free: 8.754 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.6953, allocations: 0 / 0.8236 GB, free: 8.754 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.6953, allocations: 0 / 0.8236 GB, free: 8.754 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.6954, allocations: 4 kB / 0.8237 GB, free: 8.75 MB / 410.7 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.002852/0.6982, allocations: 0.923 MB / 0.8246 GB, free: 7.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.187e-05/0.6983, allocations: 8.828 kB / 0.8246 GB, free: 7.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006178/0.6989, allocations: 91.14 kB / 0.8246 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.7003, allocations: 0.4927 MB / 0.8251 GB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001602/0.7005, allocations: 104.4 kB / 0.8252 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.7006, allocations: 47.95 kB / 0.8253 GB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.7027, allocations: 0.8186 MB / 0.8261 GB, free: 6.109 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.495e-05/0.7028, allocations: 3.938 kB / 0.8261 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.703, allocations: 27.98 kB / 0.8261 GB, free: 6.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.415e-05/0.7031, allocations: 44.91 kB / 0.8261 GB, free: 6.035 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.705, allocations: 0.6439 MB / 0.8268 GB, free: 5.391 MB / 410.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.007442/0.7124, allocations: 3.928 MB / 0.8306 GB, free: 1.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.7138, allocations: 418.8 kB / 0.831 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005628/0.7144, allocations: 213.2 kB / 0.8312 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003089/0.7175, allocations: 1.644 MB / 0.8328 GB, free: 14.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.739e-05/0.7175, allocations: 42.56 kB / 0.8329 GB, free: 14.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 3.747e-06/0.7176, allocations: 0 / 0.8329 GB, free: 14.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.004851/0.7224, allocations: 1.434 MB / 0.8343 GB, free: 13.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.076e-05/0.7226, allocations: 140.5 kB / 0.8344 GB, free: 12.99 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.7236, allocations: 0.5613 MB / 0.8349 GB, free: 12.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.957e-05/0.7237, allocations: 37.7 kB / 0.835 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/0.7241, allocations: 375.3 kB / 0.8353 GB, free: 12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.7243, allocations: 149.8 kB / 0.8355 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/0.7243, allocations: 16 kB / 0.8355 GB, free: 11.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.7245, allocations: 382.7 kB / 0.8359 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/0.7252, allocations: 201.9 kB / 0.8361 GB, free: 11.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.7261, allocations: 0.547 MB / 0.8366 GB, free: 10.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008238/0.7269, allocations: 307.7 kB / 0.8369 GB, free: 10.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/0.7269, allocations: 4 kB / 0.8369 GB, free: 10.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002604/0.7295, allocations: 0.8953 MB / 0.8378 GB, free: 9.344 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/0.7296, allocations: 12 kB / 0.8378 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.7296, allocations: 12.91 kB / 0.8378 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/0.7319, allocations: 268.5 kB / 0.838 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008362/0.7328, allocations: 131.8 kB / 0.8382 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.7344, allocations: 0.8412 MB / 0.839 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009443/0.7354, allocations: 59.81 kB / 0.839 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-05/0.7355, allocations: 40 kB / 0.8391 GB, free: 7.961 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005305/0.7361, allocations: 253.5 kB / 0.8393 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.7362, allocations: 67.25 kB / 0.8394 GB, free: 7.637 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/0.7382, allocations: 0.722 MB / 0.8401 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.7382, allocations: 3.984 kB / 0.8401 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.7382, allocations: 0.75 kB / 0.8401 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004324/0.7387, allocations: 196.2 kB / 0.8403 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.7389, allocations: 7.953 kB / 0.8403 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006463/0.7395, allocations: 35.92 kB / 0.8403 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.7397, allocations: 32.27 kB / 0.8404 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002791/0.7425, allocations: 0.6479 MB / 0.841 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00204/0.7445, allocations: 0.8683 MB / 0.8418 GB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005108/0.7451, allocations: 204.1 kB / 0.842 GB, free: 4.855 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007579/0.7458, allocations: 391.1 kB / 0.8424 GB, free: 4.477 MB / 426.7 MB Notification: Performance of Backend: time 6.61e-07/0.7459, allocations: 0 / 0.8424 GB, free: 4.477 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00297/0.7488, allocations: 0.6652 MB / 0.8431 GB, free: 3.82 MB / 426.7 MB Notification: Performance of SimCode: time 0.004794/0.7537, allocations: 2.108 MB / 0.8451 GB, free: 1.668 MB / 426.7 MB Notification: Performance of Templates: time 0.03644/0.7902, allocations: 12.33 MB / 0.8572 GB, free: 5.445 MB / 442.7 MB