Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,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.DryAirNasa") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003965/0.003971, allocations: 366.1 kB / 15.96 MB, free: 6.203 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 4.022/4.022, allocations: 388.9 MB / 405.6 MB, free: 9.641 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.005231/0.00523, allocations: 235.7 kB / 451 MB, free: 145 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.5407/0.5407, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006162/0.0006165, allocations: 9.375 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1152, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.6144/0.7297, allocations: 163.7 MB / 0.84 GB, free: 8.594 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.745, allocations: 7.64 MB / 0.8474 GB, free: 0.9414 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.746, allocations: 23.81 kB / 0.8475 GB, free: 0.918 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.7472, allocations: 246.5 kB / 0.8477 GB, free: 0.6758 MB / 426.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.005504/0.7528, allocations: 1.317 MB / 0.849 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003984/0.7568, allocations: 0.8998 MB / 0.8499 GB, free: 14.47 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.003871/0.7607, allocations: 2.232 MB / 0.8521 GB, free: 12.23 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009668/0.7617, allocations: 373.1 kB / 0.8524 GB, free: 11.86 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003462/0.7652, allocations: 1.014 MB / 0.8534 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.7668, allocations: 0.654 MB / 0.854 GB, free: 10.19 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001907/0.767, allocations: 32 kB / 0.8541 GB, free: 10.16 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0023/0.7693, allocations: 0.5967 MB / 0.8547 GB, free: 9.559 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004941/0.7699, allocations: 227.3 kB / 0.8549 GB, free: 9.336 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.7702, allocations: 165.3 kB / 0.855 GB, free: 9.168 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002126/0.7724, allocations: 0.9937 MB / 0.856 GB, free: 8.172 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.7724, allocations: 0 / 0.856 GB, free: 8.172 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.7724, allocations: 0 / 0.856 GB, free: 8.172 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.161e-05/0.7724, allocations: 0 / 0.856 GB, free: 8.172 MB / 442.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.003213/0.7757, allocations: 0.9932 MB / 0.857 GB, free: 7.129 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.7757, allocations: 8.828 kB / 0.857 GB, free: 7.121 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.777, allocations: 135.1 kB / 0.8571 GB, free: 6.988 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.7783, allocations: 0.4888 MB / 0.8576 GB, free: 6.461 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.7785, allocations: 104.4 kB / 0.8577 GB, free: 6.348 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.7787, allocations: 48 kB / 0.8577 GB, free: 6.301 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.7808, allocations: 0.8135 MB / 0.8585 GB, free: 5.414 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.7808, allocations: 4 kB / 0.8585 GB, free: 5.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001225/0.781, allocations: 30.92 kB / 0.8586 GB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.803e-05/0.7811, allocations: 40.97 kB / 0.8586 GB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0019/0.783, allocations: 0.6243 MB / 0.8592 GB, free: 4.719 MB / 442.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.007346/0.7903, allocations: 3.938 MB / 0.863 GB, free: 0.5312 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.7914, allocations: 353.3 kB / 0.8634 GB, free: 188 kB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004829/0.7919, allocations: 174.3 kB / 0.8636 GB, free: 12 kB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/0.7926, allocations: 369.2 kB / 0.8639 GB, free: 15.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.7927, allocations: 38.84 kB / 0.8639 GB, free: 15.55 MB / 458.7 MB Notification: Performance of pre-optimization done (n=34): time 3.115e-06/0.7927, allocations: 0 / 0.8639 GB, free: 15.55 MB / 458.7 MB Notification: Performance of matching and sorting (n=39): time 0.009598/0.8023, allocations: 1.646 MB / 0.8655 GB, free: 13.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.8024, allocations: 136.5 kB / 0.8657 GB, free: 13.67 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.8036, allocations: 0.5859 MB / 0.8662 GB, free: 13.08 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.8037, allocations: 37.7 kB / 0.8663 GB, free: 13.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.8041, allocations: 374.6 kB / 0.8666 GB, free: 12.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.8043, allocations: 149.9 kB / 0.8668 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.216e-05/0.8044, allocations: 16 kB / 0.8668 GB, free: 12.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.8046, allocations: 378.7 kB / 0.8672 GB, free: 12.12 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.8053, allocations: 205.9 kB / 0.8674 GB, free: 11.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009676/0.8063, allocations: 0.5353 MB / 0.8679 GB, free: 11.22 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008456/0.8072, allocations: 291.8 kB / 0.8682 GB, free: 10.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.898e-06/0.8072, allocations: 4 kB / 0.8682 GB, free: 10.93 MB / 458.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00267/0.8099, allocations: 0.8894 MB / 0.869 GB, free: 10.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.8099, allocations: 8 kB / 0.869 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.81, allocations: 12 kB / 0.8691 GB, free: 10.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.8124, allocations: 316.7 kB / 0.8694 GB, free: 9.707 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008488/0.8133, allocations: 131.8 kB / 0.8695 GB, free: 9.578 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.8151, allocations: 0.9074 MB / 0.8704 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009819/0.8161, allocations: 44.05 kB / 0.8704 GB, free: 8.602 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/0.8163, allocations: 67.98 kB / 0.8705 GB, free: 8.535 MB / 458.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 (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005336/0.8168, allocations: 249.5 kB / 0.8707 GB, free: 8.281 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.817, allocations: 71.16 kB / 0.8708 GB, free: 8.211 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/0.8196, allocations: 0.674 MB / 0.8714 GB, free: 7.516 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.8196, allocations: 3.984 kB / 0.8714 GB, free: 7.512 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.8196, allocations: 0 / 0.8714 GB, free: 7.512 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/0.8201, allocations: 180.3 kB / 0.8716 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.8203, allocations: 15.94 kB / 0.8716 GB, free: 7.301 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006522/0.821, allocations: 23.98 kB / 0.8716 GB, free: 7.277 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.8211, allocations: 35.95 kB / 0.8717 GB, free: 7.242 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00279/0.8239, allocations: 0.6121 MB / 0.8723 GB, free: 6.617 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001943/0.8259, allocations: 0.8064 MB / 0.8731 GB, free: 5.793 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004844/0.8264, allocations: 175.9 kB / 0.8732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008523/0.8273, allocations: 415 kB / 0.8736 GB, free: 5.219 MB / 458.7 MB Notification: Performance of Backend: time 5.51e-07/0.8273, allocations: 3.938 kB / 0.8736 GB, free: 5.215 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003735/0.831, allocations: 0.8177 MB / 0.8744 GB, free: 4.406 MB / 458.7 MB Notification: Performance of SimCode: time 0.005074/0.8362, allocations: 2.124 MB / 0.8765 GB, free: 2.234 MB / 458.7 MB Notification: Performance of Templates: time 0.04809/0.8843, allocations: 17.28 MB / 0.8934 GB, free: 1.066 MB / 474.7 MB