Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.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.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 109.8 kB / 16.41 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.0009642/0.0009642, allocations: 188.3 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.17 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.002608/0.002608, allocations: 0.5646 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 59.91 kB / 403.1 MB, free: 32.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08296/0.08417, allocations: 49.6 MB / 452.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues): time 0.04381/0.128, allocations: 47.65 MB / 0.4886 GB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2536/0.3817, allocations: 25.89 MB / 0.5139 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.383, allocations: 35.78 kB / 0.5139 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.3843, allocations: 0.5072 MB / 0.5144 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01487/0.3992, allocations: 5.854 MB / 0.5201 GB, free: 3.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/0.4097, allocations: 3.971 MB / 0.524 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005112/0.4148, allocations: 4.225 MB / 0.5281 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.4161, allocations: 0.9818 MB / 0.5291 GB, free: 2.547 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.05505/0.4711, allocations: 29.68 MB / 0.5581 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02294/0.4941, allocations: 12.23 MB / 0.57 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000512/0.4947, allocations: 168 kB / 0.5702 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01768/0.5124, allocations: 8.501 MB / 0.5785 GB, free: 8.902 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.5136, allocations: 0.7447 MB / 0.5792 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.5153, allocations: 1.127 MB / 0.5803 GB, free: 7.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01607/0.5313, allocations: 7.416 MB / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.5314, allocations: 0 / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.5314, allocations: 4 kB / 0.5876 GB, free: 15.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.006e-05/0.5314, allocations: 4 kB / 0.5876 GB, free: 15.93 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.008367/0.5398, allocations: 3.23 MB / 0.5907 GB, free: 12.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5399, allocations: 11.89 kB / 0.5907 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004257/0.5441, allocations: 0.6336 MB / 0.5913 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001881/0.546, allocations: 1.199 MB / 0.5925 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.5462, allocations: 162.1 kB / 0.5927 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.5464, allocations: 155.1 kB / 0.5928 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0062/0.5526, allocations: 3.294 MB / 0.596 GB, free: 7.082 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.629e-05/0.5527, allocations: 15.83 kB / 0.5961 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.5529, allocations: 67.12 kB / 0.5961 GB, free: 7.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002001/0.5531, allocations: 199.2 kB / 0.5963 GB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006479/0.5596, allocations: 3.213 MB / 0.5994 GB, free: 3.59 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.01531/0.5749, allocations: 13.34 MB / 0.6125 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004943/0.5799, allocations: 2.11 MB / 0.6145 GB, free: 3.23 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.5816, allocations: 1.089 MB / 0.6156 GB, free: 2.129 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1352/0.7168, allocations: 62.37 MB / 0.6765 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004565/0.7214, allocations: 1.591 MB / 0.6781 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=143): time 6.593e-06/0.7214, allocations: 0 / 0.6781 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=163): time 0.02576/0.7472, allocations: 10.29 MB / 0.6881 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.7474, allocations: 329.7 kB / 0.6884 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.749, allocations: 1.237 MB / 0.6896 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.7492, allocations: 57.7 kB / 0.6897 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006132/0.7498, allocations: 0.8047 MB / 0.6905 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004608/0.7503, allocations: 0.5577 MB / 0.691 GB, free: 14.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005999/0.7509, allocations: 439.4 kB / 0.6914 GB, free: 13.76 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.751, allocations: 301.1 kB / 0.6917 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.753, allocations: 1.2 MB / 0.6929 GB, free: 12.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.7555, allocations: 1.77 MB / 0.6946 GB, free: 10.23 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3082/1.064, allocations: 12.3 MB / 0.7066 GB, free: 220.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/1.064, allocations: 7.781 kB / 0.7066 GB, free: 220.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007211/1.071, allocations: 3.476 MB / 0.71 GB, free: 219.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/1.071, allocations: 18.66 kB / 0.71 GB, free: 219.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.699e-05/1.071, allocations: 18.12 kB / 0.7101 GB, free: 219.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/1.072, allocations: 442.9 kB / 0.7105 GB, free: 219.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002044/1.075, allocations: 0.5111 MB / 0.711 GB, free: 219.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/1.077, allocations: 3.311 MB / 0.7142 GB, free: 216.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.079, allocations: 138.9 kB / 0.7143 GB, free: 216.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/1.079, allocations: 105.4 kB / 0.7144 GB, free: 216.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 1 initial equations are redundant, so they are removed from the initialization system: pipe.mediums[1].p = 1e7. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003181/1.082, allocations: 1.596 MB / 0.716 GB, free: 216.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002332/1.084, allocations: 1.7 MB / 0.7177 GB, free: 215.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04591/1.13, allocations: 11.27 MB / 0.7287 GB, free: 212 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.949e-05/1.13, allocations: 3.781 kB / 0.7287 GB, free: 212 MB / 0.545 GB Notification: Performance of matching and sorting (n=261) (initialization_lambda0): time 0.005354/1.136, allocations: 3.322 MB / 0.7319 GB, free: 210.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/1.136, allocations: 14.75 kB / 0.7319 GB, free: 210.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/1.136, allocations: 18.19 kB / 0.732 GB, free: 210.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/1.137, allocations: 442.4 kB / 0.7324 GB, free: 210.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/1.139, allocations: 0.5014 MB / 0.7329 GB, free: 210 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/1.14, allocations: 3.314 MB / 0.7361 GB, free: 207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.142, allocations: 129 kB / 0.7362 GB, free: 206.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.142, allocations: 101.5 kB / 0.7363 GB, free: 206.9 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 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: pipe.mediums[1].p = 1e7. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.statesFM[5].phase,pipe.statesFM[4].phase,pipe.statesFM[3].phase,pipe.statesFM[2].phase,pipe.statesFM[1].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,pipe.state_a.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(2,8), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006496/1.142, allocations: 324.4 kB / 0.7366 GB, free: 206.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/1.143, allocations: 157.1 kB / 0.7368 GB, free: 206.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00704/1.15, allocations: 6.493 MB / 0.7431 GB, free: 200.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004979/1.155, allocations: 5.138 MB / 0.7481 GB, free: 195.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.155, allocations: 4.875 kB / 0.7481 GB, free: 195.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009265/1.156, allocations: 0.5599 MB / 0.7487 GB, free: 194.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003248/1.156, allocations: 114.3 kB / 0.7488 GB, free: 194.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.157, allocations: 135.8 kB / 0.7489 GB, free: 194.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/1.158, allocations: 177.7 kB / 0.7491 GB, free: 194.1 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005948/1.164, allocations: 4.979 MB / 0.754 GB, free: 189.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006746/1.17, allocations: 6.767 MB / 0.7606 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002082/1.172, allocations: 2.09 MB / 0.7626 GB, free: 180.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001391/1.174, allocations: 1.2 MB / 0.7638 GB, free: 179 MB / 0.545 GB Notification: Performance of Backend: time 5.71e-07/1.174, allocations: 0 / 0.7638 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01357/1.187, allocations: 5.272 MB / 0.7689 GB, free: 174.1 MB / 0.545 GB Notification: Performance of SimCode: time 0.00649/1.194, allocations: 5.491 MB / 0.7743 GB, free: 168.6 MB / 0.545 GB Notification: Performance of Templates: time 0.09532/1.289, allocations: 88.81 MB / 0.861 GB, free: 80.14 MB / 0.545 GB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues.pipe 2>&1)