Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation.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.Machines.TestWaterPumpRecirculation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.T|N_pump.y|Source.ports.1..m_flow|Source.ports.1..p|Source.ports.1..h_outflow|Sink.ports.1..m_flow|Sink.ports.1..p|Sink.ports.1..h_outflow|pump.port_b.m_flow|pump.port_b.p|pump.port_b.h_outflow|V1.port_b.m_flow|V1.port_b.p|V1.port_b.h_outflow|V1.minLimiter.y|V2.port_b.m_flow|V2.port_b.p|V2.port_b.h_outflow|V2.minLimiter.y|V1_Opening.y|V2_Opening.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002647/0.002653, allocations: 368.9 kB / 15.96 MB, free: 6.191 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.714/3.714, allocations: 388.9 MB / 405.6 MB, free: 47.88 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003574/0.003574, allocations: 228.6 kB / 451 MB, free: 2.355 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.8267/0.8267, allocations: 80.01 MB / 0.5627 GB, free: 5.969 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006497/0.0006502, allocations: 16 kB / 0.6265 GB, free: 4.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.125, allocations: 54.89 MB / 0.6801 GB, free: 13.5 MB / 394.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation): time 0.3382/0.4633, allocations: 19.88 MB / 0.6995 GB, free: 71.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01542/0.4788, allocations: 7.838 MB / 0.7072 GB, free: 69.47 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001791/0.4806, allocations: 34 kB / 0.7072 GB, free: 69.45 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.4828, allocations: 335 kB / 0.7075 GB, free: 69.31 MB / 394.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. Notification: Performance of NFTyping.typeBindings: time 0.004721/0.4875, allocations: 1.001 MB / 0.7085 GB, free: 68.9 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008347/0.4959, allocations: 1.947 MB / 0.7104 GB, free: 68.26 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003203/0.4992, allocations: 1.934 MB / 0.7123 GB, free: 67.5 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.5004, allocations: 0.5153 MB / 0.7128 GB, free: 67.33 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.5023, allocations: 0.6279 MB / 0.7134 GB, free: 67.12 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002766/0.5051, allocations: 1.127 MB / 0.7145 GB, free: 66.8 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.5055, allocations: 39.38 kB / 0.7146 GB, free: 66.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.5076, allocations: 0.5506 MB / 0.7151 GB, free: 66.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003806/0.5081, allocations: 181.8 kB / 0.7153 GB, free: 66.57 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004235/0.5085, allocations: 177.2 kB / 0.7154 GB, free: 66.47 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002225/0.5108, allocations: 1.001 MB / 0.7164 GB, free: 66.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5108, allocations: 3 kB / 0.7164 GB, free: 66.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5108, allocations: 0 / 0.7164 GB, free: 66.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.5108, allocations: 0 / 0.7164 GB, free: 66.24 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003516/0.5144, allocations: 1.077 MB / 0.7175 GB, free: 65.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.5144, allocations: 8.719 kB / 0.7175 GB, free: 65.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/0.515, allocations: 99.67 kB / 0.7176 GB, free: 65.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.5163, allocations: 0.5557 MB / 0.7181 GB, free: 65.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.5163, allocations: 39.28 kB / 0.7182 GB, free: 65.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/0.5165, allocations: 53.45 kB / 0.7182 GB, free: 65.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002235/0.5187, allocations: 0.8136 MB / 0.719 GB, free: 64.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.585e-05/0.5188, allocations: 7.25 kB / 0.719 GB, free: 64.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.5189, allocations: 20.97 kB / 0.719 GB, free: 64.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-05/0.519, allocations: 26.48 kB / 0.7191 GB, free: 64.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002755/0.5218, allocations: 0.7875 MB / 0.7198 GB, free: 64.4 MB / 394.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.007885/0.5297, allocations: 3.598 MB / 0.7233 GB, free: 61.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.5317, allocations: 474.7 kB / 0.7238 GB, free: 61.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001307/0.533, allocations: 332.1 kB / 0.7241 GB, free: 61.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003919/0.5334, allocations: 0.5732 MB / 0.7247 GB, free: 60.72 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.5335, allocations: 37.31 kB / 0.7247 GB, free: 60.68 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001202/0.5347, allocations: 125.4 kB / 0.7248 GB, free: 60.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=45): time 5.14e-06/0.5347, allocations: 0 / 0.7248 GB, free: 60.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=69): time 0.1007/0.6354, allocations: 8.064 MB / 0.7327 GB, free: 58.56 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.6355, allocations: 111.1 kB / 0.7328 GB, free: 58.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.6366, allocations: 0.5603 MB / 0.7334 GB, free: 58.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003059/0.6369, allocations: 37.45 kB / 0.7334 GB, free: 58.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.6373, allocations: 379.3 kB / 0.7338 GB, free: 57.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.6376, allocations: 239.2 kB / 0.734 GB, free: 57.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.6377, allocations: 15.06 kB / 0.734 GB, free: 57.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.6379, allocations: 381.9 kB / 0.7344 GB, free: 57.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.6406, allocations: 0.5141 MB / 0.7349 GB, free: 57.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002974/0.6436, allocations: 0.7647 MB / 0.7356 GB, free: 56.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003067/0.6467, allocations: 0.5828 MB / 0.7362 GB, free: 56.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.6468, allocations: 3.031 kB / 0.7362 GB, free: 56.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.007602/0.6544, allocations: 1.593 MB / 0.7377 GB, free: 55.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.6547, allocations: 314 kB / 0.738 GB, free: 55.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.6547, allocations: 13.78 kB / 0.738 GB, free: 55.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02142/0.6761, allocations: 1.562 MB / 0.7396 GB, free: 55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.6788, allocations: 274.5 kB / 0.7398 GB, free: 54.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003247/0.6821, allocations: 1.631 MB / 0.7414 GB, free: 53.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/0.685, allocations: 140 kB / 0.7416 GB, free: 53.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/0.6854, allocations: 71.05 kB / 0.7416 GB, free: 53.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.6854, allocations: 4.688 kB / 0.7416 GB, free: 53.45 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007426/0.6928, allocations: 1.489 MB / 0.7431 GB, free: 52.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/0.6929, allocations: 8.109 kB / 0.7431 GB, free: 52.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004175/0.6971, allocations: 486 kB / 0.7436 GB, free: 52.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/0.6999, allocations: 294.5 kB / 0.7438 GB, free: 52.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004456/0.7044, allocations: 2.679 MB / 0.7465 GB, free: 50 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.7071, allocations: 133.2 kB / 0.7466 GB, free: 49.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/0.7074, allocations: 66.3 kB / 0.7466 GB, free: 49.92 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (79): * Single equations (assignments): 77 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 10,3 14} Notification: Performance of prepare postOptimizeDAE: time 0.0007247/0.7081, allocations: 301.9 kB / 0.7469 GB, free: 49.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/0.7084, allocations: 77.48 kB / 0.747 GB, free: 49.62 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008066/0.7165, allocations: 1.844 MB / 0.7488 GB, free: 48.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/0.7166, allocations: 7.922 kB / 0.7488 GB, free: 48.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/0.7166, allocations: 3.375 kB / 0.7488 GB, free: 48.63 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008043/0.7174, allocations: 253.8 kB / 0.7491 GB, free: 48.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.7177, allocations: 15.62 kB / 0.7491 GB, free: 48.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002197/0.7199, allocations: 135.7 kB / 0.7492 GB, free: 48.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.7202, allocations: 62.84 kB / 0.7493 GB, free: 48.29 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01125/0.7315, allocations: 1.76 MB / 0.751 GB, free: 47.27 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008077/0.7396, allocations: 1.937 MB / 0.7529 GB, free: 45.32 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002462/0.7421, allocations: 0.5035 MB / 0.7534 GB, free: 44.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006436/0.7428, allocations: 383.1 kB / 0.7537 GB, free: 44.45 MB / 394.7 MB Notification: Performance of Backend: time 8.22e-07/0.7428, allocations: 0 / 0.7537 GB, free: 44.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009903/0.7527, allocations: 2.04 MB / 0.7557 GB, free: 42.4 MB / 394.7 MB Notification: Performance of SimCode: time 0.005129/0.7579, allocations: 2.616 MB / 0.7583 GB, free: 39.77 MB / 394.7 MB Notification: Performance of Templates: time 0.06629/0.8243, allocations: 29.05 MB / 0.7866 GB, free: 11.04 MB / 394.7 MB