Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003998/0.004004, allocations: 352.8 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.29/3.29, allocations: 341.5 MB / 358.2 MB, free: 28.63 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00524/0.00524, allocations: 220.9 kB / 397.9 MB, free: 6.004 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.504/0.504, allocations: 76.09 MB / 0.5014 GB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004534/0.0004537, allocations: 12 kB / 0.5592 GB, free: 60.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1214, allocations: 48.71 MB / 0.6068 GB, free: 11.51 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5543/0.6757, allocations: 163.7 MB / 0.7666 GB, free: 8.859 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01545/0.6912, allocations: 7.616 MB / 0.774 GB, free: 1.234 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009641/0.6922, allocations: 31.75 kB / 0.7741 GB, free: 1.203 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001059/0.6933, allocations: 242.5 kB / 0.7743 GB, free: 0.9648 MB / 394.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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.1+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.1+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.1+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.005193/0.6985, allocations: 1.327 MB / 0.7756 GB, free: 15.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003807/0.7024, allocations: 0.887 MB / 0.7765 GB, free: 14.76 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003524/0.7059, allocations: 2.242 MB / 0.7787 GB, free: 12.52 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008134/0.7067, allocations: 372.6 kB / 0.779 GB, free: 12.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003204/0.71, allocations: 1.01 MB / 0.78 GB, free: 11.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.7114, allocations: 0.6463 MB / 0.7806 GB, free: 10.49 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.7115, allocations: 32 kB / 0.7807 GB, free: 10.46 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.7138, allocations: 0.5967 MB / 0.7812 GB, free: 9.859 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004049/0.7142, allocations: 243.3 kB / 0.7815 GB, free: 9.621 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002835/0.7145, allocations: 165.3 kB / 0.7816 GB, free: 9.453 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001755/0.7163, allocations: 0.9821 MB / 0.7826 GB, free: 8.469 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.7163, allocations: 0 / 0.7826 GB, free: 8.469 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.7163, allocations: 4 kB / 0.7826 GB, free: 8.465 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.7163, allocations: 0 / 0.7826 GB, free: 8.465 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.002868/0.7192, allocations: 0.9967 MB / 0.7836 GB, free: 7.418 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.7192, allocations: 8.031 kB / 0.7836 GB, free: 7.41 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.7204, allocations: 135.1 kB / 0.7837 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.7218, allocations: 0.4889 MB / 0.7842 GB, free: 6.75 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.7219, allocations: 100.4 kB / 0.7843 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.7221, allocations: 51.98 kB / 0.7843 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.7241, allocations: 0.8097 MB / 0.7851 GB, free: 5.707 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.7242, allocations: 3.938 kB / 0.7851 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.7243, allocations: 27.95 kB / 0.7851 GB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.292e-05/0.7244, allocations: 36.98 kB / 0.7852 GB, free: 5.641 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.7262, allocations: 0.6243 MB / 0.7858 GB, free: 5.016 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.006897/0.7332, allocations: 3.949 MB / 0.7897 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009272/0.7341, allocations: 344.7 kB / 0.79 GB, free: 480 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.7346, allocations: 169.3 kB / 0.7901 GB, free: 308 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006353/0.7352, allocations: 369.7 kB / 0.7905 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.7353, allocations: 38.84 kB / 0.7905 GB, free: 15.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 5.04e-06/0.7353, allocations: 3.984 kB / 0.7905 GB, free: 15.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=39): time 0.009454/0.7448, allocations: 1.633 MB / 0.7921 GB, free: 14.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.7449, allocations: 132.5 kB / 0.7923 GB, free: 13.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.746, allocations: 0.5937 MB / 0.7928 GB, free: 13.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/0.7461, allocations: 33.7 kB / 0.7929 GB, free: 13.33 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.7464, allocations: 382.6 kB / 0.7932 GB, free: 12.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.7467, allocations: 146 kB / 0.7934 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.137e-05/0.7467, allocations: 12 kB / 0.7934 GB, free: 12.79 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.7469, allocations: 378.7 kB / 0.7937 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005987/0.7476, allocations: 201.9 kB / 0.7939 GB, free: 12.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008843/0.7485, allocations: 0.5392 MB / 0.7945 GB, free: 11.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007982/0.7493, allocations: 291.8 kB / 0.7947 GB, free: 11.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.7493, allocations: 0 / 0.7947 GB, free: 11.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002444/0.7518, allocations: 0.8903 MB / 0.7956 GB, free: 10.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.05e-05/0.7518, allocations: 16.25 kB / 0.7956 GB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.7518, allocations: 8 kB / 0.7956 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002312/0.7542, allocations: 313.4 kB / 0.7959 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008078/0.755, allocations: 135.7 kB / 0.7961 GB, free: 9.871 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001657/0.7567, allocations: 0.8988 MB / 0.7969 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009115/0.7576, allocations: 43.97 kB / 0.797 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/0.7578, allocations: 67.98 kB / 0.797 GB, free: 8.84 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 (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.0005135/0.7583, allocations: 253.5 kB / 0.7973 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/0.7585, allocations: 71.11 kB / 0.7974 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002379/0.7608, allocations: 0.6862 MB / 0.798 GB, free: 7.812 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.7609, allocations: 4 kB / 0.798 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.7609, allocations: 0 / 0.798 GB, free: 7.809 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.7614, allocations: 188.3 kB / 0.7982 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.7616, allocations: 7.984 kB / 0.7982 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006246/0.7622, allocations: 23.98 kB / 0.7982 GB, free: 7.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.7623, allocations: 39.91 kB / 0.7983 GB, free: 7.535 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0027/0.765, allocations: 0.6198 MB / 0.7989 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001836/0.7669, allocations: 0.8022 MB / 0.7997 GB, free: 6.082 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004629/0.7674, allocations: 180.5 kB / 0.7998 GB, free: 5.906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000782/0.7682, allocations: 419 kB / 0.8002 GB, free: 5.5 MB / 426.7 MB Notification: Performance of Backend: time 4.91e-07/0.7682, allocations: 0 / 0.8002 GB, free: 5.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003429/0.7716, allocations: 0.8159 MB / 0.801 GB, free: 4.684 MB / 426.7 MB Notification: Performance of SimCode: time 0.004505/0.7761, allocations: 2.107 MB / 0.8031 GB, free: 2.531 MB / 426.7 MB Notification: Performance of Templates: time 0.3088/1.085, allocations: 17.29 MB / 0.82 GB, free: 153.7 MB / 426.7 MB