Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic.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.Machines.TestWaterPumpPowerCharacteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002603/0.002608, allocations: 351.3 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.633/3.633, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003505/0.003504, allocations: 229 kB / 397.9 MB, free: 4.961 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.4661/0.4661, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006572/0.0006574, allocations: 16 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09873, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpPowerCharacteristic): time 0.3349/0.4336, allocations: 38.71 MB / 0.6445 GB, free: 68.42 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03823/0.4719, allocations: 18.52 MB / 0.6626 GB, free: 54.31 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.4734, allocations: 28.69 kB / 0.6627 GB, free: 54.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.4754, allocations: 391.1 kB / 0.663 GB, free: 53.97 MB / 362.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. Notification: Performance of NFTyping.typeBindings: time 0.01837/0.4938, allocations: 4.053 MB / 0.667 GB, free: 50.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01202/0.5058, allocations: 2.901 MB / 0.6698 GB, free: 48.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002827/0.5087, allocations: 1.815 MB / 0.6716 GB, free: 46.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007404/0.5094, allocations: 378.8 kB / 0.672 GB, free: 46.31 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00153/0.511, allocations: 0.6184 MB / 0.6726 GB, free: 45.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01309/0.5241, allocations: 6.448 MB / 0.6789 GB, free: 39.24 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.5244, allocations: 28 kB / 0.6789 GB, free: 39.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01957/0.544, allocations: 7.257 MB / 0.686 GB, free: 31.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002771/0.5443, allocations: 159.4 kB / 0.6861 GB, free: 31.79 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003237/0.5446, allocations: 169.3 kB / 0.6863 GB, free: 31.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007795/0.5525, allocations: 3.535 MB / 0.6897 GB, free: 28.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.5525, allocations: 0 / 0.6897 GB, free: 28.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5525, allocations: 0 / 0.6897 GB, free: 28.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.5526, allocations: 4 kB / 0.6897 GB, free: 28.07 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.004835/0.5574, allocations: 1.519 MB / 0.6912 GB, free: 26.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5575, allocations: 8.031 kB / 0.6912 GB, free: 26.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.5604, allocations: 302.8 kB / 0.6915 GB, free: 26.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009543/0.5614, allocations: 0.5255 MB / 0.692 GB, free: 25.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.5614, allocations: 57.2 kB / 0.6921 GB, free: 25.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.5616, allocations: 56 kB / 0.6921 GB, free: 25.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003267/0.5649, allocations: 0.9906 MB / 0.6931 GB, free: 24.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.938e-05/0.5649, allocations: 4 kB / 0.6931 GB, free: 24.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.846e-05/0.565, allocations: 28 kB / 0.6931 GB, free: 24.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-05/0.5651, allocations: 21 kB / 0.6932 GB, free: 24.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/0.5689, allocations: 0.9131 MB / 0.6941 GB, free: 23.52 MB / 362.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.005559/0.5745, allocations: 4.488 MB / 0.6984 GB, free: 18.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003668/0.5782, allocations: 0.8033 MB / 0.6992 GB, free: 17.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.5792, allocations: 319.5 kB / 0.6995 GB, free: 17.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6118/1.191, allocations: 83.86 MB / 0.7814 GB, free: 141.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.511e-05/1.191, allocations: 39.81 kB / 0.7815 GB, free: 141.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 4.218e-06/1.191, allocations: 3.375 kB / 0.7815 GB, free: 141.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.01139/1.202, allocations: 2.285 MB / 0.7837 GB, free: 141.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.056e-05/1.203, allocations: 113.2 kB / 0.7838 GB, free: 141.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009908/1.204, allocations: 494.5 kB / 0.7843 GB, free: 141 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002162/1.204, allocations: 37.12 kB / 0.7843 GB, free: 141 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/1.204, allocations: 332.1 kB / 0.7846 GB, free: 140.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/1.205, allocations: 187.8 kB / 0.7848 GB, free: 140.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.976e-05/1.205, allocations: 10.03 kB / 0.7848 GB, free: 140.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/1.205, allocations: 368.9 kB / 0.7852 GB, free: 140.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/1.206, allocations: 277.5 kB / 0.7854 GB, free: 140.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001293/1.207, allocations: 481.5 kB / 0.7859 GB, free: 140.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/1.209, allocations: 323.5 kB / 0.7862 GB, free: 140.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.129e-05/1.209, allocations: 2.578 kB / 0.7862 GB, free: 140.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.006557/1.215, allocations: 1.007 MB / 0.7872 GB, free: 140 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/1.215, allocations: 264.9 kB / 0.7874 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/1.215, allocations: 7.812 kB / 0.7874 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005205/1.221, allocations: 442 kB / 0.7879 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/1.222, allocations: 143 kB / 0.788 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00275/1.225, allocations: 0.9125 MB / 0.7889 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/1.226, allocations: 98.45 kB / 0.789 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.941e-05/1.226, allocations: 35.06 kB / 0.789 GB, free: 139.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.226, allocations: 3.875 kB / 0.789 GB, free: 139.1 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004234/1.231, allocations: 0.964 MB / 0.79 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.231, allocations: 5.531 kB / 0.79 GB, free: 138.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002605/1.233, allocations: 351.5 kB / 0.7903 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009818/1.234, allocations: 146.4 kB / 0.7904 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/1.236, allocations: 0.8932 MB / 0.7913 GB, free: 138 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/1.237, allocations: 87.41 kB / 0.7914 GB, free: 138 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.01e-05/1.237, allocations: 36.45 kB / 0.7914 GB, free: 138 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {3 18} Notification: Performance of prepare postOptimizeDAE: time 0.0005052/1.238, allocations: 286.5 kB / 0.7917 GB, free: 137.8 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/1.238, allocations: 72.75 kB / 0.7918 GB, free: 137.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005721/1.244, allocations: 2.933 MB / 0.7946 GB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/1.244, allocations: 4.078 kB / 0.7946 GB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.244, allocations: 0 / 0.7946 GB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005751/1.244, allocations: 315.6 kB / 0.7949 GB, free: 136.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001797/1.245, allocations: 11.98 kB / 0.795 GB, free: 136.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009932/1.246, allocations: 103.6 kB / 0.7951 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/1.246, allocations: 53.66 kB / 0.7951 GB, free: 136.1 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004317/1.25, allocations: 1.762 MB / 0.7968 GB, free: 135.4 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005344/1.255, allocations: 2.534 MB / 0.7993 GB, free: 134.2 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001665/1.257, allocations: 0.7926 MB / 0.8001 GB, free: 133.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007714/1.258, allocations: 402.6 kB / 0.8005 GB, free: 133.7 MB / 426.7 MB Notification: Performance of Backend: time 6.51e-07/1.258, allocations: 0 / 0.8005 GB, free: 133.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0136/1.272, allocations: 2.563 MB / 0.803 GB, free: 133.2 MB / 426.7 MB Notification: Performance of SimCode: time 0.004773/1.276, allocations: 2.756 MB / 0.8057 GB, free: 131.4 MB / 426.7 MB Notification: Performance of Templates: time 0.1022/1.379, allocations: 53.74 MB / 0.8581 GB, free: 78.28 MB / 426.7 MB