Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve.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.TestPipesAndValves.DynamicPipeClosingValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004413/0.004419, allocations: 351.8 kB / 15.95 MB, free: 6.219 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.387/3.387, allocations: 341.5 MB / 358.2 MB, free: 28.76 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.008783/0.008783, allocations: 223.5 kB / 397.9 MB, free: 6.168 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5831/0.5831, allocations: 76.09 MB / 0.5014 GB, free: 0.8164 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004528/0.000453, allocations: 16 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08245/0.08292, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve): time 0.3635/0.4465, allocations: 44.11 MB / 0.6498 GB, free: 13.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04112/0.4876, allocations: 24.16 MB / 0.6734 GB, free: 12.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.4893, allocations: 43.88 kB / 0.6735 GB, free: 12.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002087/0.4915, allocations: 448 kB / 0.6739 GB, free: 12.41 MB / 314.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.02022/0.5117, allocations: 4.798 MB / 0.6786 GB, free: 10.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01742/0.5292, allocations: 4.06 MB / 0.6825 GB, free: 8.168 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004574/0.5338, allocations: 3.093 MB / 0.6856 GB, free: 6.426 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001177/0.535, allocations: 500 kB / 0.686 GB, free: 6.121 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02036/0.5554, allocations: 9.171 MB / 0.695 GB, free: 15.79 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03829/0.5937, allocations: 14.71 MB / 0.7094 GB, free: 1.203 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003344/0.5941, allocations: 40 kB / 0.7094 GB, free: 1.164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02501/0.6191, allocations: 7.904 MB / 0.7171 GB, free: 9.328 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007871/0.6199, allocations: 291.2 kB / 0.7174 GB, free: 9.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005632/0.6205, allocations: 229.1 kB / 0.7176 GB, free: 8.82 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.6317, allocations: 4.074 MB / 0.7216 GB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6318, allocations: 0 / 0.7216 GB, free: 4.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6318, allocations: 0 / 0.7216 GB, free: 4.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.28e-05/0.6318, allocations: 0 / 0.7216 GB, free: 4.992 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.007738/0.6396, allocations: 1.905 MB / 0.7234 GB, free: 3.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.6396, allocations: 8.031 kB / 0.7235 GB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/0.6434, allocations: 374.3 kB / 0.7238 GB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01888/0.6623, allocations: 6.943 MB / 0.7306 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.6624, allocations: 72.72 kB / 0.7307 GB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.6627, allocations: 73.23 kB / 0.7307 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00535/0.668, allocations: 1.452 MB / 0.7321 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.6681, allocations: 7.875 kB / 0.7322 GB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.6683, allocations: 39.44 kB / 0.7322 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001504/0.6685, allocations: 69.95 kB / 0.7323 GB, free: 10.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005722/0.6742, allocations: 1.35 MB / 0.7336 GB, free: 9.336 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.01409/0.6883, allocations: 6.536 MB / 0.74 GB, free: 2.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004853/0.6932, allocations: 1.014 MB / 0.741 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.695, allocations: 459.6 kB / 0.7414 GB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1163/0.8113, allocations: 32.38 MB / 0.773 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/0.8114, allocations: 46.94 kB / 0.7731 GB, free: 12.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 3.155e-06/0.8115, allocations: 0 / 0.7731 GB, free: 12.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=60): time 0.01456/0.826, allocations: 3.327 MB / 0.7763 GB, free: 9.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/0.8262, allocations: 166.7 kB / 0.7765 GB, free: 8.961 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.8276, allocations: 0.6996 MB / 0.7772 GB, free: 8.258 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001599/0.8278, allocations: 45.7 kB / 0.7772 GB, free: 8.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/0.8282, allocations: 421.9 kB / 0.7776 GB, free: 7.789 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002736/0.8285, allocations: 205.3 kB / 0.7778 GB, free: 7.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.506e-05/0.8286, allocations: 16 kB / 0.7778 GB, free: 7.574 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000218/0.8288, allocations: 390.8 kB / 0.7782 GB, free: 7.184 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001563/0.8304, allocations: 413.7 kB / 0.7786 GB, free: 6.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.8322, allocations: 0.625 MB / 0.7792 GB, free: 6.066 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.8339, allocations: 481.9 kB / 0.7796 GB, free: 5.594 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.916e-06/0.8339, allocations: 4 kB / 0.7796 GB, free: 5.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.004703/0.8386, allocations: 1.358 MB / 0.781 GB, free: 4.227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002587/0.8389, allocations: 274.8 kB / 0.7812 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/0.839, allocations: 8 kB / 0.7812 GB, free: 3.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005512/0.8445, allocations: 0.6827 MB / 0.7819 GB, free: 3.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.8457, allocations: 159.8 kB / 0.7821 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002873/0.8486, allocations: 1.295 MB / 0.7833 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.8502, allocations: 103.8 kB / 0.7834 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.8504, allocations: 39.98 kB / 0.7835 GB, free: 1.559 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.8504, allocations: 8 kB / 0.7835 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004889/0.8553, allocations: 1.232 MB / 0.7847 GB, free: 324 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.8553, allocations: 11.94 kB / 0.7847 GB, free: 312 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003231/0.8586, allocations: 439.7 kB / 0.7851 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.86, allocations: 171.7 kB / 0.7853 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/0.8623, allocations: 1.11 MB / 0.7864 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.8638, allocations: 95.89 kB / 0.7864 GB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/0.8639, allocations: 47.98 kB / 0.7865 GB, free: 14.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 9 (pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 68 * 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 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0007668/0.8647, allocations: 360.9 kB / 0.7868 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002779/0.865, allocations: 86.92 kB / 0.7869 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007603/0.8726, allocations: 3.338 MB / 0.7902 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005867/0.8785, allocations: 2.778 MB / 0.7929 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.8786, allocations: 0 / 0.7929 GB, free: 7.789 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.8796, allocations: 454.1 kB / 0.7933 GB, free: 7.324 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003329/0.88, allocations: 12 kB / 0.7933 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.8814, allocations: 119.7 kB / 0.7934 GB, free: 7.195 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/0.8817, allocations: 68.45 kB / 0.7935 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005309/0.887, allocations: 1.979 MB / 0.7954 GB, free: 5.156 MB / 426.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006929/0.894, allocations: 2.872 MB / 0.7983 GB, free: 2.258 MB / 426.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002068/0.8961, allocations: 0.842 MB / 0.7991 GB, free: 1.422 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001701/0.8978, allocations: 0.7863 MB / 0.7998 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of Backend: time 1.062e-06/0.8978, allocations: 0 / 0.7998 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01555/0.9134, allocations: 3.015 MB / 0.8028 GB, free: 13.77 MB / 442.7 MB Notification: Performance of SimCode: time 0.008011/0.9214, allocations: 3.475 MB / 0.8062 GB, free: 10.24 MB / 442.7 MB Notification: Performance of Templates: time 0.4137/1.335, allocations: 62.77 MB / 0.8675 GB, free: 127.9 MB / 442.7 MB