Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 110.4 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 187.9 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.669/1.669, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003838/0.003838, allocations: 0.5619 MB / 291.8 MB, free: 14.19 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 63.89 kB / 403.1 MB, free: 32.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08937/0.09059, allocations: 49.6 MB / 452.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization): time 0.04132/0.132, allocations: 47.64 MB / 0.4886 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2546/0.3867, allocations: 25.89 MB / 0.5139 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.388, allocations: 34.5 kB / 0.5139 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001321/0.3894, allocations: 0.4971 MB / 0.5144 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01482/0.4042, allocations: 5.861 MB / 0.5201 GB, free: 3.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01046/0.4147, allocations: 3.968 MB / 0.524 GB, free: 3.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004915/0.4196, allocations: 4.015 MB / 0.5279 GB, free: 2.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.4212, allocations: 0.9438 MB / 0.5288 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05632/0.4775, allocations: 29.59 MB / 0.5577 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02263/0.5002, allocations: 12.14 MB / 0.5696 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004696/0.5007, allocations: 148 kB / 0.5697 GB, free: 1.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01686/0.5176, allocations: 8.51 MB / 0.578 GB, free: 9.387 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009541/0.5186, allocations: 0.6073 MB / 0.5786 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.5201, allocations: 0.9657 MB / 0.5796 GB, free: 7.836 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.5349, allocations: 7.02 MB / 0.5864 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5349, allocations: 4 kB / 0.5864 GB, free: 1.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5349, allocations: 0 / 0.5864 GB, free: 1.109 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.565e-05/0.535, allocations: 0 / 0.5864 GB, free: 1.109 MB / 430.1 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.006942/0.5419, allocations: 2.856 MB / 0.5892 GB, free: 14.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.542, allocations: 15.88 kB / 0.5892 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003871/0.5458, allocations: 0.5593 MB / 0.5898 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.5474, allocations: 1.083 MB / 0.5908 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.5476, allocations: 132.8 kB / 0.591 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/0.5478, allocations: 147.4 kB / 0.5911 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00526/0.5531, allocations: 2.68 MB / 0.5937 GB, free: 9.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.397e-05/0.5531, allocations: 7.938 kB / 0.5937 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.5533, allocations: 59.05 kB / 0.5938 GB, free: 9.398 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.5534, allocations: 122.5 kB / 0.5939 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005604/0.559, allocations: 2.62 MB / 0.5965 GB, free: 6.648 MB / 446.1 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.01167/0.5707, allocations: 10.88 MB / 0.6071 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004273/0.575, allocations: 1.765 MB / 0.6088 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.5766, allocations: 0.9521 MB / 0.6097 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1344/0.711, allocations: 62.36 MB / 0.6706 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004224/0.7153, allocations: 1.381 MB / 0.672 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=127): time 5.671e-06/0.7153, allocations: 0 / 0.672 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of matching and sorting (n=151): time 0.02163/0.737, allocations: 8.228 MB / 0.68 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.7372, allocations: 286.4 kB / 0.6803 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.7388, allocations: 1.017 MB / 0.6813 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.739, allocations: 53.7 kB / 0.6813 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000683/0.7397, allocations: 0.6652 MB / 0.682 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005466/0.7402, allocations: 0.5118 MB / 0.6825 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005867/0.7408, allocations: 375.3 kB / 0.6829 GB, free: 6.754 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.7409, allocations: 301.1 kB / 0.6831 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001904/0.7428, allocations: 1.008 MB / 0.6841 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002285/0.7451, allocations: 1.492 MB / 0.6856 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05654/0.8017, allocations: 12.42 MB / 0.6977 GB, free: 7.078 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.531e-05/0.8018, allocations: 4 kB / 0.6977 GB, free: 7.074 MB / 0.545 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.009007/0.8108, allocations: 3.381 MB / 0.701 GB, free: 3.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.8109, allocations: 12 kB / 0.701 GB, free: 3.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.692e-05/0.811, allocations: 15.98 kB / 0.701 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/0.8228, allocations: 2.555 MB / 0.7035 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/0.8241, allocations: 271.5 kB / 0.7038 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2485/1.073, allocations: 3.195 MB / 0.7069 GB, free: 223.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/1.075, allocations: 126.6 kB / 0.707 GB, free: 223.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/1.075, allocations: 85.73 kB / 0.7071 GB, free: 223.8 MB / 0.545 GB 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 system: $DER.pipe.mediums[1].p = 0.0 $DER.pipe.mediums[2].p = 0.0 $DER.pipe.mediums[3].p = 0.0 $DER.pipe.mediums[4].p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003433/1.078, allocations: 1.388 MB / 0.7085 GB, free: 223.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002784/1.081, allocations: 1.475 MB / 0.7099 GB, free: 222.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05359/1.135, allocations: 11.87 MB / 0.7215 GB, free: 219.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-05/1.135, allocations: 7.969 kB / 0.7215 GB, free: 219.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.007391/1.142, allocations: 3.466 MB / 0.7249 GB, free: 217.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/1.142, allocations: 13.72 kB / 0.7249 GB, free: 217.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/1.142, allocations: 15.06 kB / 0.7249 GB, free: 217.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006867/1.149, allocations: 1.962 MB / 0.7268 GB, free: 217.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009917/1.15, allocations: 295.8 kB / 0.7271 GB, free: 217 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003902/1.154, allocations: 2.933 MB / 0.73 GB, free: 214.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.156, allocations: 124 kB / 0.7301 GB, free: 214.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.156, allocations: 87.97 kB / 0.7302 GB, free: 214.5 MB / 0.545 GB 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_lambda0 system: $DER.pipe.mediums[1].p = 0.0 $DER.pipe.mediums[2].p = 0.0 $DER.pipe.mediums[3].p = 0.0 $DER.pipe.mediums[4].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.statesFM[2].phase,pipe.mediums[5].phase,pipe.mediums[4].phase,pipe.mediums[2].phase,pipe.mediums[1].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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,79)} Notification: Performance of prepare postOptimizeDAE: time 0.0006617/1.157, allocations: 317.2 kB / 0.7305 GB, free: 214.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004111/1.157, allocations: 140.7 kB / 0.7306 GB, free: 214.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006803/1.164, allocations: 5.695 MB / 0.7362 GB, free: 208.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004583/1.169, allocations: 4.656 MB / 0.7407 GB, free: 203.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/1.169, allocations: 0 / 0.7407 GB, free: 203.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007669/1.169, allocations: 470.6 kB / 0.7412 GB, free: 203.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004135/1.17, allocations: 87.36 kB / 0.7413 GB, free: 203.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/1.171, allocations: 131.8 kB / 0.7414 GB, free: 203.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002816/1.171, allocations: 157.1 kB / 0.7415 GB, free: 203 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007804/1.179, allocations: 4.507 MB / 0.7459 GB, free: 198.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008509/1.188, allocations: 5.499 MB / 0.7513 GB, free: 192.9 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002559/1.19, allocations: 1.712 MB / 0.753 GB, free: 191.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001814/1.192, allocations: 0.9693 MB / 0.7539 GB, free: 190.2 MB / 0.545 GB Notification: Performance of Backend: time 9.01e-07/1.192, allocations: 0 / 0.7539 GB, free: 190.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02027/1.212, allocations: 4.801 MB / 0.7586 GB, free: 185.8 MB / 0.545 GB Notification: Performance of SimCode: time 0.009267/1.222, allocations: 4.839 MB / 0.7633 GB, free: 181 MB / 0.545 GB Notification: Performance of Templates: time 0.101/1.323, allocations: 85.9 MB / 0.8472 GB, free: 95.4 MB / 0.545 GB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization.pipe 2>&1)