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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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: "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 100.1 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.001366/0.001367, 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.608/1.608, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.003405/0.003405, allocations: 0.5505 MB / 291.5 MB, free: 1.723 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003304, allocations: 12 kB / 352.7 MB, free: 2.758 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1229, allocations: 50.57 MB / 403.2 MB, free: 156 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.4058/0.5287, allocations: 145.1 MB / 0.5355 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007863/0.5367, allocations: 4.745 MB / 0.5402 GB, free: 1.785 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.5377, allocations: 27.75 kB / 0.5402 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.5388, allocations: 342.3 kB / 0.5405 GB, free: 1.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003578/0.5424, allocations: 1.089 MB / 0.5416 GB, free: 340 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003038/0.5455, allocations: 0.9874 MB / 0.5425 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002431/0.5479, allocations: 1.373 MB / 0.5439 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008422/0.5488, allocations: 0.5052 MB / 0.5444 GB, free: 13.46 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001918/0.5507, allocations: 0.783 MB / 0.5451 GB, free: 12.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008502/0.5516, allocations: 0.4983 MB / 0.5456 GB, free: 12.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.5517, allocations: 40 kB / 0.5457 GB, free: 12.14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.5541, allocations: 0.7062 MB / 0.5464 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004379/0.5545, allocations: 275.2 kB / 0.5466 GB, free: 11.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000382/0.5549, allocations: 197.3 kB / 0.5468 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.557, allocations: 1.133 MB / 0.5479 GB, free: 9.828 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.557, allocations: 0 / 0.5479 GB, free: 9.828 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.318e-06/0.557, allocations: 0 / 0.5479 GB, free: 9.828 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.5571, allocations: 8 kB / 0.5479 GB, free: 9.82 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.002663/0.5597, allocations: 1.092 MB / 0.549 GB, free: 8.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/0.5598, allocations: 12.03 kB / 0.549 GB, free: 8.668 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001868/0.56, allocations: 134.4 kB / 0.5491 GB, free: 8.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.561, allocations: 170.8 kB / 0.5493 GB, free: 8.359 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.5621, allocations: 0.5356 MB / 0.5498 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002061/0.5623, allocations: 176.8 kB / 0.55 GB, free: 7.586 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.5624, allocations: 72 kB / 0.5501 GB, free: 7.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.5641, allocations: 1.074 MB / 0.5511 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.5641, allocations: 4 kB / 0.5511 GB, free: 6.336 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.93e-05/0.5642, allocations: 35.98 kB / 0.5511 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.494e-05/0.5643, allocations: 45.23 kB / 0.5512 GB, free: 6.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.5656, allocations: 0.7738 MB / 0.5519 GB, free: 5.484 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.255/0.8206, allocations: 5.698 MB / 0.5575 GB, free: 145.9 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.8217, allocations: 394.2 kB / 0.5579 GB, free: 145.9 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002904/0.822, allocations: 262.9 kB / 0.5581 GB, free: 145.6 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.8221, allocations: 41.95 kB / 0.5582 GB, free: 145.6 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 2.505e-06/0.8221, allocations: 0 / 0.5582 GB, free: 145.6 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.01152/0.8336, allocations: 3.015 MB / 0.5611 GB, free: 145 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.8337, allocations: 109.6 kB / 0.5612 GB, free: 144.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001233/0.835, allocations: 0.6753 MB / 0.5619 GB, free: 144.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.8351, allocations: 37.14 kB / 0.5619 GB, free: 144.7 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004298/0.8355, allocations: 467.7 kB / 0.5624 GB, free: 144.4 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002499/0.8358, allocations: 205.5 kB / 0.5626 GB, free: 144.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.205e-05/0.8359, allocations: 20.12 kB / 0.5626 GB, free: 144.2 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000194/0.8361, allocations: 387.8 kB / 0.5629 GB, free: 143.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006164/0.8367, allocations: 276.8 kB / 0.5632 GB, free: 143.8 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008977/0.8376, allocations: 0.7614 MB / 0.564 GB, free: 143.1 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.01684/0.8544, allocations: 2.741 MB / 0.5666 GB, free: 142.7 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-05/0.8545, allocations: 4.812 kB / 0.5666 GB, free: 142.7 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.004536/0.8591, allocations: 1.282 MB / 0.5679 GB, free: 142.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.8592, allocations: 13.53 kB / 0.5679 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/0.8592, allocations: 15.59 kB / 0.5679 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.8605, allocations: 287.3 kB / 0.5682 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/0.8614, allocations: 209.7 kB / 0.5684 GB, free: 142.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.8629, allocations: 0.9282 MB / 0.5693 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.8642, allocations: 58.36 kB / 0.5694 GB, free: 141.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002289/0.8644, allocations: 104.4 kB / 0.5695 GB, free: 141.4 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.0007111/0.8651, allocations: 298.8 kB / 0.5697 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.8653, allocations: 79.28 kB / 0.5698 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.8682, allocations: 1.198 MB / 0.571 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/0.8683, allocations: 6.516 kB / 0.571 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.8683, allocations: 3.719 kB / 0.571 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.8683, allocations: 2.906 kB / 0.571 GB, free: 140.8 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.004095/0.8724, allocations: 1.968 MB / 0.5729 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.8724, allocations: 2.594 kB / 0.5729 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000334/0.8728, allocations: 95.91 kB / 0.573 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001633/0.8744, allocations: 301.3 kB / 0.5733 GB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.8745, allocations: 28.23 kB / 0.5733 GB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001091/0.8756, allocations: 0.8551 MB / 0.5742 GB, free: 138.8 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.8756, allocations: 2.141 kB / 0.5742 GB, free: 138.8 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.878, allocations: 1.176 MB / 0.5753 GB, free: 138.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/0.8786, allocations: 221 kB / 0.5755 GB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.8787, allocations: 17.61 kB / 0.5755 GB, free: 138 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.8792, allocations: 38.52 kB / 0.5756 GB, free: 138 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.8793, allocations: 50.83 kB / 0.5756 GB, free: 138 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.8794, allocations: 65.09 kB / 0.5757 GB, free: 138 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006435/0.8801, allocations: 456 kB / 0.5761 GB, free: 137.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8801, allocations: 0 / 0.5761 GB, free: 137.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001598/0.8817, allocations: 349.2 kB / 0.5765 GB, free: 137.8 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.003305/0.885, allocations: 2.363 MB / 0.5788 GB, free: 136.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.8869, allocations: 0.7649 MB / 0.5795 GB, free: 136 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8869, allocations: 1.375 kB / 0.5795 GB, free: 136 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008075/0.8877, allocations: 344.7 kB / 0.5798 GB, free: 135.9 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.8898, allocations: 363 kB / 0.5802 GB, free: 135.8 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.9009, allocations: 16.17 MB / 0.596 GB, free: 121.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004888/0.9015, allocations: 1.002 MB / 0.5969 GB, free: 120.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001642/0.9031, allocations: 0.5755 MB / 0.5975 GB, free: 120.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005467/0.9037, allocations: 350.8 kB / 0.5978 GB, free: 119.8 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.9037, allocations: 0 / 0.5978 GB, free: 119.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04542/0.9491, allocations: 27 MB / 0.6242 GB, free: 93.2 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003539/0.9495, allocations: 321.8 kB / 0.6245 GB, free: 92.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.569/3.519, allocations: 4 kB / 0.6245 GB, free: 92.83 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)