Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization.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.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.3..h|pipe.mediums.4..h|pipe.mediums.5..h|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003998/0.004005, allocations: 353.4 kB / 15.95 MB, free: 6.203 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.578/3.578, allocations: 341.5 MB / 358.2 MB, free: 12.56 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.003517/0.003517, allocations: 221.2 kB / 397.9 MB, free: 4.898 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.4648/0.4648, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006237/0.000624, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08604/0.08671, allocations: 48.7 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestOverdeterminedInitial.DynamicPipeLumpedPressureInitialization): time 0.3365/0.4233, allocations: 44.36 MB / 0.6501 GB, free: 64.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04053/0.4639, allocations: 24.11 MB / 0.6736 GB, free: 44.6 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.4657, allocations: 39.62 kB / 0.6736 GB, free: 44.56 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.4679, allocations: 453.4 kB / 0.6741 GB, free: 44.12 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.01961/0.4876, allocations: 4.652 MB / 0.6786 GB, free: 39.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01621/0.5038, allocations: 4.11 MB / 0.6826 GB, free: 35.4 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005691/0.5096, allocations: 4.389 MB / 0.6869 GB, free: 31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.5113, allocations: 0.769 MB / 0.6877 GB, free: 30.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1174/0.6287, allocations: 51.45 MB / 0.7379 GB, free: 10.76 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.05131/0.68, allocations: 20.44 MB / 0.7579 GB, free: 6.309 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005772/0.6807, allocations: 72 kB / 0.7579 GB, free: 6.238 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3214/1.002, allocations: 7.823 MB / 0.7656 GB, free: 82.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001282/1.003, allocations: 0.5304 MB / 0.7661 GB, free: 82.91 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001265/1.005, allocations: 368.6 kB / 0.7664 GB, free: 82.88 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01252/1.017, allocations: 4.8 MB / 0.7711 GB, free: 82.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/1.017, allocations: 0.8125 kB / 0.7711 GB, free: 82.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.82e-06/1.017, allocations: 4.406 kB / 0.7711 GB, free: 82.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001275/1.018, allocations: 4.625 kB / 0.7711 GB, free: 82.77 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.0167/1.034, allocations: 2.536 MB / 0.7736 GB, free: 81.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/1.034, allocations: 10.28 kB / 0.7736 GB, free: 81.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009829/1.044, allocations: 0.5647 MB / 0.7742 GB, free: 81.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004474/1.049, allocations: 1.008 MB / 0.7752 GB, free: 81.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003036/1.049, allocations: 137.8 kB / 0.7753 GB, free: 81.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000604/1.05, allocations: 145.6 kB / 0.7754 GB, free: 81.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/1.064, allocations: 2.725 MB / 0.7781 GB, free: 80.85 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.787e-05/1.064, allocations: 7.375 kB / 0.7781 GB, free: 80.85 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004531/1.065, allocations: 62.91 kB / 0.7782 GB, free: 80.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003408/1.065, allocations: 127.3 kB / 0.7783 GB, free: 80.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01559/1.081, allocations: 2.696 MB / 0.7809 GB, free: 80.83 MB / 410.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.03163/1.112, allocations: 10.91 MB / 0.7916 GB, free: 74.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0123/1.125, allocations: 1.845 MB / 0.7934 GB, free: 74.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005238/1.13, allocations: 0.9641 MB / 0.7943 GB, free: 73.81 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2665/1.397, allocations: 62.48 MB / 0.8553 GB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008274/1.405, allocations: 1.436 MB / 0.8567 GB, free: 7.242 MB / 410.7 MB Notification: Performance of pre-optimization done (n=127): time 6.913e-06/1.405, allocations: 0 / 0.8567 GB, free: 7.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.0467/1.452, allocations: 8.462 MB / 0.865 GB, free: 0.5625 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/1.452, allocations: 283.1 kB / 0.8653 GB, free: 232 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/1.455, allocations: 0.996 MB / 0.8662 GB, free: 15.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004797/1.455, allocations: 56.7 kB / 0.8663 GB, free: 15.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009746/1.456, allocations: 0.6704 MB / 0.8669 GB, free: 14.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001032/1.457, allocations: 0.5198 MB / 0.8675 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002775/1.458, allocations: 34.12 kB / 0.8675 GB, free: 14.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00029/1.458, allocations: 381.1 kB / 0.8679 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004895/1.463, allocations: 1.007 MB / 0.8688 GB, free: 13.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005196/1.468, allocations: 1.521 MB / 0.8703 GB, free: 12.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.75/8.218, allocations: 0.549 GB / 1.419 GB, free: 52.71 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/8.218, allocations: 7.781 kB / 1.419 GB, free: 52.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01132/8.23, allocations: 3.435 MB / 1.423 GB, free: 49.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003198/8.23, allocations: 0.5202 MB / 1.423 GB, free: 49.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/8.23, allocations: 12 kB / 1.423 GB, free: 49.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02096/8.251, allocations: 2.653 MB / 1.426 GB, free: 46.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001854/8.253, allocations: 275.6 kB / 1.426 GB, free: 46.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008461/8.261, allocations: 3.271 MB / 1.429 GB, free: 43.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003215/8.265, allocations: 204.9 kB / 1.429 GB, free: 42.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004289/8.265, allocations: 83.98 kB / 1.43 GB, free: 42.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/8.265, allocations: 4 kB / 1.43 GB, free: 42.73 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01216/8.277, allocations: 3.406 MB / 1.433 GB, free: 39.32 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.069e-05/8.277, allocations: 17 kB / 1.433 GB, free: 39.31 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2911/8.568, allocations: 2.06 MB / 1.435 GB, free: 191.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/8.571, allocations: 295.1 kB / 1.435 GB, free: 191.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009801/8.581, allocations: 2.996 MB / 1.438 GB, free: 190.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004313/8.585, allocations: 206.1 kB / 1.438 GB, free: 190.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007541/8.586, allocations: 95.73 kB / 1.438 GB, free: 190.7 MB / 474.7 MB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: $DER.pipe.mediums[2].p = 0.0 $DER.pipe.mediums[3].p = 0.0 $DER.pipe.mediums[4].p = 0.0 $DER.pipe.mediums[1].p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,pipe.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe.mediums[1].phase,pipe.mediums[2].phase,pipe.mediums[4].phase,pipe.mediums[5].phase,pipe.statesFM[2].phase,sink.state.phase,sink.medium.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 (147): * Single equations (assignments): 146 * 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 {6 79} Notification: Performance of prepare postOptimizeDAE: time 0.002474/8.588, allocations: 0.5945 MB / 1.439 GB, free: 190.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006922/8.589, allocations: 136.9 kB / 1.439 GB, free: 190.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02011/8.609, allocations: 5.842 MB / 1.445 GB, free: 189.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01468/8.624, allocations: 4.725 MB / 1.449 GB, free: 187.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-05/8.624, allocations: 0 / 1.449 GB, free: 187.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002353/8.626, allocations: 0.5999 MB / 1.45 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008898/8.627, allocations: 47.11 kB / 1.45 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003748/8.631, allocations: 207 kB / 1.45 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007296/8.632, allocations: 161.2 kB / 1.45 GB, free: 186.7 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01881/8.651, allocations: 4.614 MB / 1.455 GB, free: 184.9 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01655/8.667, allocations: 5.576 MB / 1.46 GB, free: 182.4 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004/8.671, allocations: 1.727 MB / 1.462 GB, free: 181.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001958/8.673, allocations: 0.9568 MB / 1.463 GB, free: 180.9 MB / 474.7 MB Notification: Performance of Backend: time 1.263e-06/8.673, allocations: 0 / 1.463 GB, free: 180.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02373/8.697, allocations: 4.82 MB / 1.468 GB, free: 176.8 MB / 474.7 MB Notification: Performance of SimCode: time 0.01133/8.708, allocations: 5.579 MB / 1.473 GB, free: 171.3 MB / 474.7 MB Notification: Performance of Templates: time 0.1622/8.871, allocations: 81.22 MB / 1.552 GB, free: 90.62 MB / 474.7 MB