Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate.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.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate,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.2_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002802/0.002807, allocations: 363.6 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 4.173/4.173, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.003517/0.003517, allocations: 236.2 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.5387/0.5387, allocations: 80.02 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000493/0.0004933, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09513/0.09564, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate): time 0.6053/0.701, allocations: 172.8 MB / 0.8489 GB, free: 15.44 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.005559/0.7066, allocations: 2.072 MB / 0.8509 GB, free: 13.37 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006263/0.7072, allocations: 27.75 kB / 0.8509 GB, free: 13.34 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009589/0.7082, allocations: 214.6 kB / 0.8511 GB, free: 13.13 MB / 442.7 MB [/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. [/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. [/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. Notification: Performance of NFTyping.typeBindings: time 0.00476/0.713, allocations: 1.186 MB / 0.8523 GB, free: 11.95 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.7154, allocations: 0.5243 MB / 0.8528 GB, free: 11.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.002868/0.7183, allocations: 1.687 MB / 0.8544 GB, free: 9.734 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007957/0.7191, allocations: 336 kB / 0.8548 GB, free: 9.41 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001179/0.7203, allocations: 482 kB / 0.8552 GB, free: 8.938 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008527/0.7212, allocations: 430.3 kB / 0.8556 GB, free: 8.516 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.7213, allocations: 27.98 kB / 0.8557 GB, free: 8.488 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.724, allocations: 0.7878 MB / 0.8564 GB, free: 7.699 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.7242, allocations: 127.5 kB / 0.8566 GB, free: 7.574 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.7245, allocations: 137.4 kB / 0.8567 GB, free: 7.434 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002037/0.7266, allocations: 0.9042 MB / 0.8576 GB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.7266, allocations: 0 / 0.8576 GB, free: 6.527 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7266, allocations: 4 kB / 0.8576 GB, free: 6.523 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.7267, allocations: 0 / 0.8576 GB, free: 6.523 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002368/0.729, allocations: 0.8884 MB / 0.8584 GB, free: 5.586 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.223e-05/0.7291, allocations: 12.02 kB / 0.8585 GB, free: 5.574 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001368/0.7305, allocations: 135.2 kB / 0.8586 GB, free: 5.441 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.7315, allocations: 460.8 kB / 0.859 GB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.68e-05/0.7316, allocations: 32.95 kB / 0.8591 GB, free: 4.922 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.476e-05/0.7317, allocations: 36 kB / 0.8591 GB, free: 4.887 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.7333, allocations: 0.5477 MB / 0.8596 GB, free: 4.301 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.7333, allocations: 3.938 kB / 0.8596 GB, free: 4.297 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.822e-05/0.7334, allocations: 16 kB / 0.8596 GB, free: 4.281 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.7335, allocations: 15.94 kB / 0.8597 GB, free: 4.266 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/0.7349, allocations: 415.6 kB / 0.8601 GB, free: 3.859 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.004457/0.7393, allocations: 2.542 MB / 0.8625 GB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.7403, allocations: 282.6 kB / 0.8628 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005017/0.7408, allocations: 157.5 kB / 0.863 GB, free: 0.6562 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001817/0.7427, allocations: 1.229 MB / 0.8642 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/0.7427, allocations: 50.55 kB / 0.8642 GB, free: 15.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=29): time 3.126e-06/0.7427, allocations: 0 / 0.8642 GB, free: 15.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=29): time 0.003249/0.746, allocations: 0.6609 MB / 0.8648 GB, free: 14.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.826e-05/0.7461, allocations: 136.5 kB / 0.865 GB, free: 14.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006607/0.7468, allocations: 385.8 kB / 0.8653 GB, free: 13.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.7469, allocations: 33.7 kB / 0.8654 GB, free: 13.89 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000279/0.7472, allocations: 291.5 kB / 0.8657 GB, free: 13.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.7473, allocations: 110.6 kB / 0.8658 GB, free: 13.49 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.7474, allocations: 4 kB / 0.8658 GB, free: 13.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.7476, allocations: 354.8 kB / 0.8661 GB, free: 13.13 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000503/0.7481, allocations: 140.8 kB / 0.8662 GB, free: 12.99 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006492/0.7487, allocations: 317.6 kB / 0.8665 GB, free: 12.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.7494, allocations: 190.1 kB / 0.8667 GB, free: 12.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.7494, allocations: 0 / 0.8667 GB, free: 12.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001701/0.7511, allocations: 0.5529 MB / 0.8673 GB, free: 11.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.7511, allocations: 8.656 kB / 0.8673 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.7512, allocations: 4 kB / 0.8673 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003935/0.7551, allocations: 336.5 kB / 0.8676 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007598/0.7559, allocations: 120.7 kB / 0.8677 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001087/0.757, allocations: 0.5836 MB / 0.8683 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006873/0.7577, allocations: 67.5 kB / 0.8683 GB, free: 10.73 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.7579, allocations: 51.98 kB / 0.8684 GB, free: 10.68 MB / 458.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 (48): * Single equations (assignments): 47 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003634/0.7582, allocations: 182.5 kB / 0.8686 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.7584, allocations: 47.44 kB / 0.8686 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002785/0.7612, allocations: 0.6916 MB / 0.8693 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.7612, allocations: 0 / 0.8693 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.7612, allocations: 0 / 0.8693 GB, free: 9.734 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.7615, allocations: 144.4 kB / 0.8694 GB, free: 9.574 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/0.7617, allocations: 8 kB / 0.8694 GB, free: 9.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004788/0.7622, allocations: 31.97 kB / 0.8695 GB, free: 9.535 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.7623, allocations: 23.97 kB / 0.8695 GB, free: 9.512 MB / 458.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001575/0.7639, allocations: 453.7 kB / 0.8699 GB, free: 9.059 MB / 458.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001659/0.7656, allocations: 0.6431 MB / 0.8705 GB, free: 8.398 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004267/0.766, allocations: 132.5 kB / 0.8707 GB, free: 8.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005614/0.7666, allocations: 303.1 kB / 0.871 GB, free: 7.973 MB / 458.7 MB Notification: Performance of Backend: time 6.31e-07/0.7666, allocations: 0 / 0.871 GB, free: 7.973 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003413/0.77, allocations: 0.6928 MB / 0.8716 GB, free: 7.289 MB / 458.7 MB Notification: Performance of SimCode: time 0.003677/0.7738, allocations: 1.632 MB / 0.8732 GB, free: 5.609 MB / 458.7 MB Notification: Performance of Templates: time 0.0491/0.8229, allocations: 12.38 MB / 0.8853 GB, free: 9.336 MB / 474.7 MB