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.001426/0.001425, allocations: 116.2 kB / 16.42 MB, free: 6.504 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.001488/0.001488, allocations: 186.6 kB / 17.35 MB, free: 5.758 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.404/1.404, allocations: 222.9 MB / 241 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.004533/0.004533, allocations: 0.5734 MB / 291.8 MB, free: 14.18 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.89 kB / 403.1 MB, free: 32.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09571, allocations: 49.58 MB / 452.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.DynamicPipeInitialValues): time 0.04303/0.1388, allocations: 47.65 MB / 0.4886 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2788/0.4177, allocations: 25.9 MB / 0.5139 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.4192, allocations: 36.62 kB / 0.5139 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.4207, allocations: 0.507 MB / 0.5144 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01702/0.4378, allocations: 5.872 MB / 0.5201 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.4492, allocations: 3.98 MB / 0.524 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005357/0.4545, allocations: 4.226 MB / 0.5282 GB, free: 2.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001563/0.4561, allocations: 0.9844 MB / 0.5291 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.07209/0.5282, allocations: 29.69 MB / 0.5581 GB, free: 13.69 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02805/0.5563, allocations: 12.23 MB / 0.57 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005571/0.5569, allocations: 168 kB / 0.5702 GB, free: 1.324 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01886/0.5758, allocations: 8.511 MB / 0.5785 GB, free: 8.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001172/0.577, allocations: 0.7426 MB / 0.5792 GB, free: 8.168 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.5789, allocations: 1.129 MB / 0.5803 GB, free: 7.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01686/0.5957, allocations: 7.416 MB / 0.5876 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.5958, allocations: 4 kB / 0.5876 GB, free: 15.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5958, allocations: 0 / 0.5876 GB, free: 15.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.351e-05/0.5958, allocations: 0 / 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.008878/0.6047, allocations: 3.229 MB / 0.5907 GB, free: 12.67 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.6048, allocations: 11.89 kB / 0.5908 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.6093, allocations: 0.6304 MB / 0.5914 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.6115, allocations: 1.202 MB / 0.5925 GB, free: 10.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.6117, allocations: 157.4 kB / 0.5927 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.6119, allocations: 153.8 kB / 0.5928 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006507/0.6184, allocations: 3.302 MB / 0.5961 GB, free: 7.078 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.449e-05/0.6185, allocations: 11.84 kB / 0.5961 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.6187, allocations: 61.95 kB / 0.5961 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002085/0.6189, allocations: 207.1 kB / 0.5963 GB, free: 6.805 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006839/0.6258, allocations: 3.213 MB / 0.5995 GB, free: 3.586 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.01703/0.6428, allocations: 13.34 MB / 0.6125 GB, free: 5.375 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005303/0.6482, allocations: 2.114 MB / 0.6146 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001814/0.65, allocations: 1.086 MB / 0.6156 GB, free: 2.125 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1384/0.7884, allocations: 62.37 MB / 0.6765 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004609/0.793, allocations: 1.586 MB / 0.6781 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=143): time 6.362e-06/0.7931, allocations: 0 / 0.6781 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=163): time 0.02793/0.821, allocations: 10.3 MB / 0.6881 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/0.8212, allocations: 325.8 kB / 0.6884 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/0.823, allocations: 1.24 MB / 0.6897 GB, free: 15.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001754/0.8232, allocations: 53.7 kB / 0.6897 GB, free: 15.56 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007079/0.8239, allocations: 0.8089 MB / 0.6905 GB, free: 14.74 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005389/0.8245, allocations: 0.5642 MB / 0.6911 GB, free: 14.18 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007127/0.8252, allocations: 435.2 kB / 0.6915 GB, free: 13.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.8253, allocations: 301.1 kB / 0.6918 GB, free: 13.45 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.8276, allocations: 1.192 MB / 0.6929 GB, free: 12.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00271/0.8303, allocations: 1.777 MB / 0.6947 GB, free: 10.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2845/1.115, allocations: 12.29 MB / 0.7067 GB, free: 220.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.808e-05/1.115, allocations: 5.531 kB / 0.7067 GB, free: 220.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.007554/1.122, allocations: 3.483 MB / 0.7101 GB, free: 219.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/1.122, allocations: 14.17 kB / 0.7101 GB, free: 219.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.102e-05/1.123, allocations: 18.44 kB / 0.7101 GB, free: 219.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001508/1.124, allocations: 446.9 kB / 0.7105 GB, free: 219.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/1.126, allocations: 0.5086 MB / 0.711 GB, free: 219.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002526/1.129, allocations: 3.306 MB / 0.7142 GB, free: 216.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.131, allocations: 146.2 kB / 0.7144 GB, free: 216.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002341/1.131, allocations: 104 kB / 0.7145 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.003224/1.134, allocations: 1.598 MB / 0.716 GB, free: 216.2 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002437/1.136, allocations: 1.702 MB / 0.7177 GB, free: 215.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04697/1.183, allocations: 11.26 MB / 0.7287 GB, free: 212 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.323e-05/1.184, allocations: 10 kB / 0.7287 GB, free: 212 MB / 0.545 GB Notification: Performance of matching and sorting (n=261) (initialization_lambda0): time 0.005579/1.189, allocations: 3.318 MB / 0.732 GB, free: 210.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.189, allocations: 11 kB / 0.732 GB, free: 210.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/1.189, allocations: 19.12 kB / 0.732 GB, free: 210.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/1.19, allocations: 452.9 kB / 0.7324 GB, free: 210.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/1.192, allocations: 0.498 MB / 0.7329 GB, free: 210 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/1.194, allocations: 3.31 MB / 0.7361 GB, free: 207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/1.195, allocations: 130.6 kB / 0.7363 GB, free: 206.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001513/1.196, allocations: 100.4 kB / 0.7364 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.0006782/1.196, allocations: 330.5 kB / 0.7367 GB, free: 206.6 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003108/1.197, allocations: 158.8 kB / 0.7368 GB, free: 206.6 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007613/1.204, allocations: 6.488 MB / 0.7432 GB, free: 200.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005212/1.209, allocations: 5.142 MB / 0.7482 GB, free: 195.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/1.209, allocations: 4 kB / 0.7482 GB, free: 195.1 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/1.211, allocations: 0.556 MB / 0.7487 GB, free: 194.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003396/1.211, allocations: 111 kB / 0.7488 GB, free: 194.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/1.212, allocations: 143.8 kB / 0.749 GB, free: 194.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/1.212, allocations: 169.7 kB / 0.7491 GB, free: 194.1 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006167/1.219, allocations: 4.981 MB / 0.754 GB, free: 189.1 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007152/1.226, allocations: 6.766 MB / 0.7606 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002208/1.228, allocations: 2.09 MB / 0.7626 GB, free: 180.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001436/1.229, allocations: 1.2 MB / 0.7638 GB, free: 179 MB / 0.545 GB Notification: Performance of Backend: time 4.71e-07/1.229, allocations: 0 / 0.7638 GB, free: 179 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0171/1.247, allocations: 5.283 MB / 0.769 GB, free: 174.1 MB / 0.545 GB Notification: Performance of SimCode: time 0.008293/1.255, allocations: 5.488 MB / 0.7743 GB, free: 168.6 MB / 0.545 GB Notification: Performance of Templates: time 0.104/1.359, allocations: 88.82 MB / 0.8611 GB, free: 80.11 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)