Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.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.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") translateModel(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008414/0.0008415, allocations: 100 kB / 15.05 MB, free: 1.105 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.0008634/0.0008633, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002605/0.002605, allocations: 0.5582 MB / 291.5 MB, free: 1.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002809/0.000281, allocations: 8 kB / 352.6 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08801, allocations: 50.58 MB / 403.2 MB, free: 276 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.3125/0.4006, allocations: 145.1 MB / 0.5354 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006773/0.4074, allocations: 4.744 MB / 0.5401 GB, free: 1.875 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.4087, allocations: 27.75 kB / 0.5401 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.41, allocations: 342.3 kB / 0.5404 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003381/0.4134, allocations: 1.084 MB / 0.5415 GB, free: 436 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003091/0.4165, allocations: 0.9979 MB / 0.5425 GB, free: 15.44 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002095/0.4186, allocations: 1.377 MB / 0.5438 GB, free: 14.06 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009423/0.4196, allocations: 0.4974 MB / 0.5443 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001648/0.4212, allocations: 0.7869 MB / 0.5451 GB, free: 12.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009221/0.4222, allocations: 0.4905 MB / 0.5455 GB, free: 12.27 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.4223, allocations: 44 kB / 0.5456 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002101/0.4244, allocations: 0.714 MB / 0.5463 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.4247, allocations: 267.3 kB / 0.5465 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.4249, allocations: 193.3 kB / 0.5467 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.4262, allocations: 1.132 MB / 0.5478 GB, free: 9.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4262, allocations: 0 / 0.5478 GB, free: 9.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4262, allocations: 0 / 0.5478 GB, free: 9.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.4262, allocations: 0 / 0.5478 GB, free: 9.922 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002009/0.4282, allocations: 1.111 MB / 0.5489 GB, free: 8.762 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4283, allocations: 12.03 kB / 0.5489 GB, free: 8.75 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009538/0.4292, allocations: 162.9 kB / 0.5491 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.4301, allocations: 0.5395 MB / 0.5496 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.4303, allocations: 184.8 kB / 0.5498 GB, free: 7.805 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4304, allocations: 68 kB / 0.5498 GB, free: 7.738 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.4318, allocations: 1.078 MB / 0.5509 GB, free: 6.559 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.4319, allocations: 4 kB / 0.5509 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.75e-05/0.432, allocations: 32 kB / 0.5509 GB, free: 6.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.432, allocations: 37.23 kB / 0.551 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.4331, allocations: 0.7816 MB / 0.5517 GB, free: 5.707 MB / 430.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.1585/0.5916, allocations: 5.702 MB / 0.5573 GB, free: 148.2 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008344/0.5925, allocations: 389.3 kB / 0.5577 GB, free: 148.2 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.5927, allocations: 265.4 kB / 0.5579 GB, free: 147.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.5928, allocations: 40.2 kB / 0.558 GB, free: 147.9 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/0.5928, allocations: 3.844 kB / 0.558 GB, free: 147.9 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.009682/0.6024, allocations: 3.017 MB / 0.5609 GB, free: 147.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.6025, allocations: 109.9 kB / 0.561 GB, free: 147.2 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.6034, allocations: 0.6743 MB / 0.5617 GB, free: 147 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.292e-05/0.6035, allocations: 36.05 kB / 0.5617 GB, free: 147 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002578/0.6037, allocations: 465.8 kB / 0.5622 GB, free: 146.7 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001461/0.6039, allocations: 199.1 kB / 0.5623 GB, free: 146.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.6039, allocations: 20.53 kB / 0.5624 GB, free: 146.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6041, allocations: 392.3 kB / 0.5627 GB, free: 146.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005019/0.6046, allocations: 276.8 kB / 0.563 GB, free: 146.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006623/0.6052, allocations: 0.7601 MB / 0.5637 GB, free: 145.4 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01422/0.6195, allocations: 2.741 MB / 0.5664 GB, free: 145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.66e-05/0.6195, allocations: 8.125 kB / 0.5664 GB, free: 145 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002489/0.622, allocations: 1.275 MB / 0.5677 GB, free: 144.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.622, allocations: 16.23 kB / 0.5677 GB, free: 144.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.6221, allocations: 16.5 kB / 0.5677 GB, free: 144.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009182/0.623, allocations: 282.8 kB / 0.568 GB, free: 144.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006034/0.6236, allocations: 206.7 kB / 0.5682 GB, free: 144.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008564/0.6245, allocations: 0.9304 MB / 0.5691 GB, free: 143.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007526/0.6252, allocations: 69.64 kB / 0.5691 GB, free: 143.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.6254, allocations: 95.22 kB / 0.5692 GB, free: 143.7 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: V1.medium.p = V1.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004239/0.6258, allocations: 293.7 kB / 0.5695 GB, free: 143.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.626, allocations: 83.77 kB / 0.5696 GB, free: 143.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.6282, allocations: 1.205 MB / 0.5708 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.6283, allocations: 6.406 kB / 0.5708 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6283, allocations: 4 kB / 0.5708 GB, free: 143 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.6283, allocations: 3 kB / 0.5708 GB, free: 143 MB / 430.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 postOpt removeSimpleEquations (simulation): time 0.002692/0.631, allocations: 1.968 MB / 0.5727 GB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.631, allocations: 2.578 kB / 0.5727 GB, free: 141.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002999/0.6313, allocations: 95.38 kB / 0.5728 GB, free: 141.8 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001414/0.6327, allocations: 300.3 kB / 0.5731 GB, free: 141.8 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.6328, allocations: 27.72 kB / 0.5731 GB, free: 141.8 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007959/0.6336, allocations: 0.8553 MB / 0.5739 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6336, allocations: 4.984 kB / 0.574 GB, free: 141.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.6353, allocations: 1.185 MB / 0.5751 GB, free: 140.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.6356, allocations: 208.5 kB / 0.5753 GB, free: 140.3 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001315/0.6358, allocations: 17.59 kB / 0.5753 GB, free: 140.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004771/0.6363, allocations: 46.83 kB / 0.5754 GB, free: 140.3 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.6364, allocations: 55.72 kB / 0.5754 GB, free: 140.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.224e-05/0.6364, allocations: 60.77 kB / 0.5755 GB, free: 140.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004647/0.6369, allocations: 460.9 kB / 0.5759 GB, free: 140.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6369, allocations: 0 / 0.5759 GB, free: 140.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001108/0.638, allocations: 345.4 kB / 0.5762 GB, free: 140.1 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008526/0.6389, allocations: 392.3 kB / 0.5766 GB, free: 139.9 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001279/0.6402, allocations: 0.7673 MB / 0.5774 GB, free: 139.7 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6402, allocations: 1.469 kB / 0.5774 GB, free: 139.7 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006671/0.6409, allocations: 347.1 kB / 0.5777 GB, free: 139.6 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.6424, allocations: 358.4 kB / 0.578 GB, free: 139.5 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.6448, allocations: 1.918 MB / 0.5799 GB, free: 138.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.6452, allocations: 1.016 MB / 0.5809 GB, free: 137.4 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001281/0.6465, allocations: 0.5812 MB / 0.5815 GB, free: 137.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003183/0.6468, allocations: 138.2 kB / 0.5816 GB, free: 137.1 MB / 430.1 MB Notification: Performance of SimCode: time 2.41e-07/0.6468, allocations: 0 / 0.5816 GB, free: 137.1 MB / 430.1 MB Notification: Performance of Templates: time 0.02367/0.6705, allocations: 19.26 MB / 0.6004 GB, free: 119.8 MB / 430.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.makefile Environment - environmentSimulation: (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1) Environment - environmentSimulation: