Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve.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.TestWaterPumpCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004224/0.004224, allocations: 353.4 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.751/3.751, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003552/0.003552, allocations: 221.2 kB / 397.9 MB, free: 4.984 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.5072/0.5072, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000492/0.0004923, allocations: 16 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09003/0.09055, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpCheckValve): time 0.3261/0.4167, allocations: 38.71 MB / 0.6446 GB, free: 68.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03073/0.4475, allocations: 18.53 MB / 0.6626 GB, free: 54.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.449, allocations: 28.12 kB / 0.6627 GB, free: 54.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001933/0.4509, allocations: 391.2 kB / 0.663 GB, free: 54 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.0195/0.4705, allocations: 4.049 MB / 0.667 GB, free: 50.99 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01259/0.4831, allocations: 2.909 MB / 0.6698 GB, free: 48.54 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002791/0.4859, allocations: 1.817 MB / 0.6716 GB, free: 46.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008769/0.4868, allocations: 377.4 kB / 0.672 GB, free: 46.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.4886, allocations: 0.6224 MB / 0.6726 GB, free: 45.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01389/0.5026, allocations: 6.697 MB / 0.6791 GB, free: 39.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002742/0.5029, allocations: 32 kB / 0.6792 GB, free: 38.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01978/0.5227, allocations: 7.179 MB / 0.6862 GB, free: 31.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003203/0.5231, allocations: 147.5 kB / 0.6863 GB, free: 31.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.5234, allocations: 173.3 kB / 0.6865 GB, free: 31.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008034/0.5315, allocations: 3.531 MB / 0.6899 GB, free: 27.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5315, allocations: 4 kB / 0.6899 GB, free: 27.94 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5315, allocations: 0 / 0.6899 GB, free: 27.94 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.5316, allocations: 0 / 0.6899 GB, free: 27.94 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.005195/0.5368, allocations: 1.508 MB / 0.6914 GB, free: 26.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.5368, allocations: 8.031 kB / 0.6914 GB, free: 26.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.5401, allocations: 294.8 kB / 0.6917 GB, free: 26.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.5413, allocations: 0.5277 MB / 0.6922 GB, free: 25.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.599e-05/0.5414, allocations: 57.27 kB / 0.6923 GB, free: 25.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.5416, allocations: 55.44 kB / 0.6923 GB, free: 25.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.5451, allocations: 0.9865 MB / 0.6933 GB, free: 24.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.5452, allocations: 4 kB / 0.6933 GB, free: 24.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.5453, allocations: 24 kB / 0.6933 GB, free: 24.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.091e-05/0.5453, allocations: 25.31 kB / 0.6933 GB, free: 24.32 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004004/0.5494, allocations: 0.9143 MB / 0.6942 GB, free: 23.41 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.006066/0.5555, allocations: 4.353 MB / 0.6985 GB, free: 18.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003406/0.5589, allocations: 0.7598 MB / 0.6992 GB, free: 17.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009818/0.5599, allocations: 280.2 kB / 0.6995 GB, free: 17.61 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.7062/1.266, allocations: 80.03 MB / 0.7776 GB, free: 142.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.562e-05/1.266, allocations: 38.88 kB / 0.7777 GB, free: 142.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 5.881e-06/1.266, allocations: 2.469 kB / 0.7777 GB, free: 142.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.01868/1.285, allocations: 2.291 MB / 0.7799 GB, free: 141.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.285, allocations: 110.7 kB / 0.78 GB, free: 141.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/1.287, allocations: 493 kB / 0.7805 GB, free: 141.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001798/1.287, allocations: 35.58 kB / 0.7805 GB, free: 141.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/1.287, allocations: 342.2 kB / 0.7808 GB, free: 141.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/1.288, allocations: 180.3 kB / 0.781 GB, free: 141.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/1.288, allocations: 13.09 kB / 0.781 GB, free: 141.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001893/1.288, allocations: 367.2 kB / 0.7814 GB, free: 141 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/1.29, allocations: 265 kB / 0.7816 GB, free: 141 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01428/1.304, allocations: 467.7 kB / 0.7821 GB, free: 140.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/1.306, allocations: 307.9 kB / 0.7824 GB, free: 140.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/1.306, allocations: 6.125 kB / 0.7824 GB, free: 140.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.006426/1.313, allocations: 0.9756 MB / 0.7833 GB, free: 140.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002518/1.313, allocations: 267.5 kB / 0.7836 GB, free: 140.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/1.313, allocations: 9.844 kB / 0.7836 GB, free: 140.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005896/1.319, allocations: 474.9 kB / 0.784 GB, free: 140.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/1.321, allocations: 140.9 kB / 0.7842 GB, free: 140.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/1.334, allocations: 0.9362 MB / 0.7851 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002094/1.337, allocations: 89.09 kB / 0.7852 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002797/1.337, allocations: 35.23 kB / 0.7852 GB, free: 139.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/1.337, allocations: 4.062 kB / 0.7852 GB, free: 139.8 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007257/1.344, allocations: 0.931 MB / 0.7861 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/1.344, allocations: 5.531 kB / 0.7861 GB, free: 139.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004012/1.348, allocations: 326.2 kB / 0.7864 GB, free: 139.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.35, allocations: 146.9 kB / 0.7866 GB, free: 139.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/1.353, allocations: 0.8741 MB / 0.7874 GB, free: 138.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.354, allocations: 85.59 kB / 0.7875 GB, free: 138.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/1.354, allocations: 37.52 kB / 0.7875 GB, free: 138.9 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (60): * Single equations (assignments): 59 * 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 {4 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007123/1.355, allocations: 290.8 kB / 0.7878 GB, free: 138.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002647/1.355, allocations: 58.36 kB / 0.7879 GB, free: 138.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008456/1.364, allocations: 2.745 MB / 0.7906 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.025e-05/1.364, allocations: 3.141 kB / 0.7906 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/1.364, allocations: 1.25 kB / 0.7906 GB, free: 137.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/1.365, allocations: 344.9 kB / 0.7909 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/1.366, allocations: 12.52 kB / 0.7909 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/1.367, allocations: 92.06 kB / 0.791 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003569/1.368, allocations: 61.55 kB / 0.7911 GB, free: 137.2 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0065/1.374, allocations: 1.535 MB / 0.7926 GB, free: 136.5 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.008077/1.383, allocations: 2.213 MB / 0.7947 GB, free: 135.5 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002408/1.385, allocations: 0.6675 MB / 0.7954 GB, free: 135.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001394/1.386, allocations: 460 kB / 0.7958 GB, free: 135 MB / 426.7 MB Notification: Performance of Backend: time 1.714e-06/1.386, allocations: 0 / 0.7958 GB, free: 135 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01859/1.405, allocations: 2.502 MB / 0.7982 GB, free: 134.5 MB / 426.7 MB Notification: Performance of SimCode: time 0.007813/1.413, allocations: 2.787 MB / 0.801 GB, free: 132.8 MB / 426.7 MB Notification: Performance of Templates: time 0.1649/1.578, allocations: 53.25 MB / 0.853 GB, free: 84.14 MB / 426.7 MB