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.001344/0.001344, allocations: 115.2 kB / 16.42 MB, free: 6.449 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.001383/0.001383, allocations: 183.9 kB / 17.35 MB, free: 5.738 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.708/1.708, allocations: 222.9 MB / 241.1 MB, free: 15.16 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.004425/0.004425, allocations: 0.567 MB / 291.8 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001163, allocations: 63.91 kB / 403.1 MB, free: 32.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09614/0.09732, allocations: 49.59 MB / 452.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeLumpedPressureInitialization): time 0.04321/0.1406, allocations: 47.65 MB / 0.4886 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2735/0.4141, allocations: 25.88 MB / 0.5139 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00153/0.4157, allocations: 37.22 kB / 0.5139 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.4171, allocations: 0.5003 MB / 0.5144 GB, free: 3.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02162/0.4388, allocations: 5.886 MB / 0.5202 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01526/0.4541, allocations: 3.975 MB / 0.524 GB, free: 3.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005682/0.4598, allocations: 4.022 MB / 0.528 GB, free: 2.684 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.4615, allocations: 0.9419 MB / 0.5289 GB, free: 2.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.06863/0.5302, allocations: 29.6 MB / 0.5578 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02743/0.5576, allocations: 12.14 MB / 0.5696 GB, free: 1.855 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005213/0.5582, allocations: 148 kB / 0.5698 GB, free: 1.711 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01877/0.577, allocations: 8.505 MB / 0.5781 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.5781, allocations: 0.6038 MB / 0.5787 GB, free: 8.699 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.5797, allocations: 0.9687 MB / 0.5796 GB, free: 7.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01628/0.596, allocations: 7.024 MB / 0.5865 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5961, allocations: 0 / 0.5865 GB, free: 1.012 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5961, allocations: 0 / 0.5865 GB, free: 1.012 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.515e-05/0.5962, allocations: 4 kB / 0.5865 GB, free: 1.008 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.008249/0.6044, allocations: 2.849 MB / 0.5893 GB, free: 14.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.6045, allocations: 8.031 kB / 0.5893 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004082/0.6086, allocations: 0.5616 MB / 0.5898 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001928/0.6105, allocations: 1.09 MB / 0.5909 GB, free: 12.44 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.6107, allocations: 132.6 kB / 0.591 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000223/0.6109, allocations: 143.7 kB / 0.5912 GB, free: 12.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005424/0.6163, allocations: 2.677 MB / 0.5938 GB, free: 9.371 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/0.6164, allocations: 11.94 kB / 0.5938 GB, free: 9.359 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.6166, allocations: 58.42 kB / 0.5938 GB, free: 9.305 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001333/0.6167, allocations: 122.5 kB / 0.594 GB, free: 9.184 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005811/0.6225, allocations: 2.613 MB / 0.5965 GB, free: 6.562 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.01289/0.6354, allocations: 10.88 MB / 0.6071 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004341/0.6398, allocations: 1.769 MB / 0.6089 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/0.6414, allocations: 0.9406 MB / 0.6098 GB, free: 8.195 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1363/0.7776, allocations: 62.37 MB / 0.6707 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003799/0.7815, allocations: 1.371 MB / 0.672 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=127): time 3.948e-06/0.7815, allocations: 3.938 kB / 0.672 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of matching and sorting (n=151): time 0.01939/0.8009, allocations: 8.233 MB / 0.6801 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.8011, allocations: 286.2 kB / 0.6803 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.8023, allocations: 1.013 MB / 0.6813 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/0.8024, allocations: 53.7 kB / 0.6814 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/0.8029, allocations: 0.6682 MB / 0.682 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004095/0.8033, allocations: 0.5152 MB / 0.6825 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005203/0.8039, allocations: 379.3 kB / 0.6829 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.804, allocations: 301.1 kB / 0.6832 GB, free: 6.363 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.8057, allocations: 0.9962 MB / 0.6842 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.8081, allocations: 1.503 MB / 0.6856 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05601/0.8641, allocations: 12.42 MB / 0.6978 GB, free: 6.988 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.8642, allocations: 7.938 kB / 0.6978 GB, free: 6.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.00611/0.8703, allocations: 3.381 MB / 0.7011 GB, free: 3.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.021e-05/0.8704, allocations: 12 kB / 0.7011 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.8704, allocations: 12.88 kB / 0.7011 GB, free: 3.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/0.8838, allocations: 2.552 MB / 0.7036 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.8854, allocations: 271.6 kB / 0.7038 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2672/1.153, allocations: 3.195 MB / 0.707 GB, free: 223.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/1.154, allocations: 121.4 kB / 0.7071 GB, free: 223.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/1.154, allocations: 89.56 kB / 0.7072 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.002693/1.157, allocations: 1.387 MB / 0.7085 GB, free: 223.6 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002156/1.159, allocations: 1.475 MB / 0.71 GB, free: 222.7 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05446/1.214, allocations: 11.87 MB / 0.7215 GB, free: 219.7 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.85e-05/1.214, allocations: 7.906 kB / 0.7216 GB, free: 219.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=231) (initialization_lambda0): time 0.007645/1.222, allocations: 3.461 MB / 0.7249 GB, free: 218 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/1.222, allocations: 11.38 kB / 0.7249 GB, free: 218 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.969e-05/1.222, allocations: 14.97 kB / 0.725 GB, free: 218 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006869/1.229, allocations: 1.961 MB / 0.7269 GB, free: 217.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/1.23, allocations: 296.6 kB / 0.7272 GB, free: 217.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003719/1.233, allocations: 2.936 MB / 0.73 GB, free: 214.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/1.235, allocations: 113.8 kB / 0.7301 GB, free: 214.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/1.235, allocations: 95.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.0005666/1.235, allocations: 309.4 kB / 0.7305 GB, free: 214.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/1.236, allocations: 146.4 kB / 0.7307 GB, free: 214.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006199/1.242, allocations: 5.687 MB / 0.7362 GB, free: 208.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004415/1.246, allocations: 4.652 MB / 0.7408 GB, free: 203.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.246, allocations: 3.938 kB / 0.7408 GB, free: 203.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008834/1.247, allocations: 473.1 kB / 0.7412 GB, free: 203.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002744/1.248, allocations: 83.36 kB / 0.7413 GB, free: 203.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/1.249, allocations: 135 kB / 0.7414 GB, free: 203.1 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/1.249, allocations: 153.1 kB / 0.7416 GB, free: 203 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006077/1.255, allocations: 4.515 MB / 0.746 GB, free: 198.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005697/1.261, allocations: 5.506 MB / 0.7514 GB, free: 192.9 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001719/1.262, allocations: 1.706 MB / 0.753 GB, free: 191.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001086/1.263, allocations: 0.9693 MB / 0.754 GB, free: 190.2 MB / 0.545 GB Notification: Performance of Backend: time 1.9e-07/1.264, allocations: 0 / 0.754 GB, free: 190.2 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01279/1.276, allocations: 4.814 MB / 0.7587 GB, free: 185.8 MB / 0.545 GB Notification: Performance of SimCode: time 0.005652/1.282, allocations: 4.826 MB / 0.7634 GB, free: 181 MB / 0.545 GB Notification: Performance of Templates: time 0.09572/1.378, allocations: 85.9 MB / 0.8473 GB, free: 95.37 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)