Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00261/0.002617, allocations: 352 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.556/3.556, allocations: 341.5 MB / 358.2 MB, free: 12.55 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003443/0.003442, allocations: 213.2 kB / 397.9 MB, free: 4.906 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5481/0.5481, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004993/0.0004998, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.09091, allocations: 48.71 MB / 0.6068 GB, free: 4.625 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.9348/1.026, allocations: 173 MB / 0.7757 GB, free: 4.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01053/1.036, allocations: 5.272 MB / 0.7808 GB, free: 4.672 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008535/1.037, allocations: 26.62 kB / 0.7809 GB, free: 4.672 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/1.038, allocations: 236.1 kB / 0.7811 GB, free: 4.664 MB / 410.7 MB [/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. [/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. [/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. Notification: Performance of NFTyping.typeBindings: time 0.006064/1.044, allocations: 1.385 MB / 0.7824 GB, free: 4.605 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/1.047, allocations: 0.5791 MB / 0.783 GB, free: 4.594 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003403/1.051, allocations: 1.744 MB / 0.7847 GB, free: 4.594 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009667/1.052, allocations: 338.6 kB / 0.785 GB, free: 4.566 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001564/1.053, allocations: 0.4908 MB / 0.7855 GB, free: 4.566 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001153/1.054, allocations: 450 kB / 0.7859 GB, free: 4.562 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001594/1.055, allocations: 26.44 kB / 0.786 GB, free: 4.562 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004152/1.059, allocations: 1.166 MB / 0.7871 GB, free: 4.547 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003356/1.059, allocations: 131.7 kB / 0.7872 GB, free: 4.547 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004736/1.06, allocations: 144.9 kB / 0.7874 GB, free: 4.516 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003101/1.063, allocations: 1.09 MB / 0.7884 GB, free: 4.438 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.974e-06/1.063, allocations: 4 kB / 0.7884 GB, free: 4.434 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.056e-06/1.063, allocations: 2.312 kB / 0.7884 GB, free: 4.434 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.062e-05/1.063, allocations: 0 / 0.7884 GB, free: 4.434 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: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002713/1.066, allocations: 0.9499 MB / 0.7894 GB, free: 3.816 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.066, allocations: 12.06 kB / 0.7894 GB, free: 3.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/1.067, allocations: 139 kB / 0.7895 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001162/1.068, allocations: 490.3 kB / 0.79 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.187e-05/1.068, allocations: 31.16 kB / 0.79 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/1.068, allocations: 37.72 kB / 0.79 GB, free: 3.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/1.07, allocations: 0.6012 MB / 0.7906 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/1.07, allocations: 0 / 0.7906 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/1.07, allocations: 18.41 kB / 0.7906 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.514e-05/1.071, allocations: 11.72 kB / 0.7907 GB, free: 3.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002207/1.073, allocations: 483.2 kB / 0.7911 GB, free: 3.395 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.004976/1.078, allocations: 2.643 MB / 0.7937 GB, free: 17.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/1.079, allocations: 334.9 kB / 0.794 GB, free: 17.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005226/1.079, allocations: 181 kB / 0.7942 GB, free: 17.58 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/1.081, allocations: 1.316 MB / 0.7955 GB, free: 16.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/1.081, allocations: 34.22 kB / 0.7955 GB, free: 16.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=33): time 3.767e-06/1.081, allocations: 4.062 kB / 0.7955 GB, free: 16.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=33): time 0.002759/1.084, allocations: 0.7254 MB / 0.7962 GB, free: 16.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/1.084, allocations: 134.9 kB / 0.7963 GB, free: 16.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007624/1.085, allocations: 429.4 kB / 0.7968 GB, free: 15.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.907e-05/1.085, allocations: 34.05 kB / 0.7968 GB, free: 15.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002487/1.085, allocations: 305.2 kB / 0.7971 GB, free: 15.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001378/1.086, allocations: 121.5 kB / 0.7972 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.101e-05/1.086, allocations: 8.375 kB / 0.7972 GB, free: 15.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001683/1.086, allocations: 355.2 kB / 0.7975 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/1.086, allocations: 152.2 kB / 0.7977 GB, free: 15.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000623/1.087, allocations: 328.1 kB / 0.798 GB, free: 15.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006326/1.088, allocations: 205.9 kB / 0.7982 GB, free: 15.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/1.088, allocations: 1.438 kB / 0.7982 GB, free: 15.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001746/1.089, allocations: 0.5734 MB / 0.7988 GB, free: 15.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/1.089, allocations: 7.062 kB / 0.7988 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/1.089, allocations: 5.812 kB / 0.7988 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002838/1.092, allocations: 298.5 kB / 0.7991 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/1.093, allocations: 120.3 kB / 0.7992 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006527/1.094, allocations: 0.6035 MB / 0.7998 GB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007066/1.094, allocations: 64.47 kB / 0.7998 GB, free: 14.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.095, allocations: 47.38 kB / 0.7999 GB, free: 14.52 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004067/1.095, allocations: 189.3 kB / 0.8 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/1.095, allocations: 50.86 kB / 0.8001 GB, free: 14.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/1.098, allocations: 0.7288 MB / 0.8008 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/1.098, allocations: 0 / 0.8008 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/1.098, allocations: 3.75 kB / 0.8008 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003312/1.098, allocations: 148 kB / 0.8009 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/1.098, allocations: 6.062 kB / 0.801 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/1.099, allocations: 32.38 kB / 0.801 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.125e-05/1.099, allocations: 31.72 kB / 0.801 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001503/1.1, allocations: 0.4922 MB / 0.8015 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001747/1.102, allocations: 0.7142 MB / 0.8022 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004655/1.103, allocations: 165.3 kB / 0.8024 GB, free: 13.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007947/1.103, allocations: 328.9 kB / 0.8027 GB, free: 13.62 MB / 426.7 MB Notification: Performance of Backend: time 9.01e-07/1.104, allocations: 0 / 0.8027 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00384/1.107, allocations: 0.7825 MB / 0.8034 GB, free: 13.48 MB / 426.7 MB Notification: Performance of SimCode: time 0.003393/1.111, allocations: 1.687 MB / 0.8051 GB, free: 12.43 MB / 426.7 MB Notification: Performance of Templates: time 0.03656/1.147, allocations: 14.14 MB / 0.8189 GB, free: 6.309 MB / 426.7 MB