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: "" <> 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.007675/0.007675, allocations: 103.3 kB / 15.73 MB, free: 5.996 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.001722/0.001722, allocations: 187.6 kB / 16.67 MB, free: 5.926 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.002796/0.002796, allocations: 0.5692 MB / 291.1 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 59.89 kB / 401.9 MB, free: 32.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07698/0.07815, allocations: 49.59 MB / 451.5 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.3727/0.4509, allocations: 179.4 MB / 0.6161 GB, free: 15.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005386/0.4563, allocations: 3.174 MB / 0.6192 GB, free: 12 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007357/0.4571, allocations: 19.88 kB / 0.6192 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.4582, allocations: 405.4 kB / 0.6196 GB, free: 11.58 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004271/0.4626, allocations: 1.594 MB / 0.6212 GB, free: 9.988 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002691/0.4653, allocations: 1.098 MB / 0.6222 GB, free: 8.895 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003216/0.4685, allocations: 2.419 MB / 0.6246 GB, free: 6.473 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.4696, allocations: 0.6081 MB / 0.6252 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002183/0.4718, allocations: 1.001 MB / 0.6262 GB, free: 4.852 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00132/0.4732, allocations: 0.7395 MB / 0.6269 GB, free: 4.109 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.4735, allocations: 80 kB / 0.627 GB, free: 4.031 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.476, allocations: 1.018 MB / 0.628 GB, free: 3.012 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004772/0.4765, allocations: 323.1 kB / 0.6283 GB, free: 2.695 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008143/0.4773, allocations: 493.8 kB / 0.6287 GB, free: 2.211 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002771/0.4801, allocations: 1.734 MB / 0.6304 GB, free: 484 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4801, allocations: 0 / 0.6304 GB, free: 484 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.4801, allocations: 0 / 0.6304 GB, free: 484 kB / 462.1 MB Notification: Performance of Transformations before backend: time 4.638e-05/0.4802, allocations: 0 / 0.6304 GB, free: 484 kB / 462.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.003006/0.4832, allocations: 1.31 MB / 0.6317 GB, free: 15.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4832, allocations: 8.031 kB / 0.6317 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001978/0.4835, allocations: 130.4 kB / 0.6318 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.4845, allocations: 162.8 kB / 0.632 GB, free: 14.8 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.4856, allocations: 0.5968 MB / 0.6326 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.4858, allocations: 184.8 kB / 0.6328 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.486, allocations: 64 kB / 0.6328 GB, free: 13.9 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.4876, allocations: 1.087 MB / 0.6339 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.4877, allocations: 7.938 kB / 0.6339 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.564e-05/0.4878, allocations: 36 kB / 0.6339 GB, free: 12.67 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.4878, allocations: 33.31 kB / 0.634 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.4891, allocations: 0.7893 MB / 0.6347 GB, free: 11.85 MB / 478.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.005838/0.495, allocations: 5.71 MB / 0.6403 GB, free: 5.746 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007036/0.4957, allocations: 400.8 kB / 0.6407 GB, free: 5.348 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.496, allocations: 220.4 kB / 0.6409 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002326/0.4963, allocations: 263.3 kB / 0.6411 GB, free: 4.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.602e-05/0.4963, allocations: 42.56 kB / 0.6412 GB, free: 4.77 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 1.773e-06/0.4963, allocations: 0 / 0.6412 GB, free: 4.77 MB / 478.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.009786/0.5061, allocations: 2.999 MB / 0.6441 GB, free: 1.684 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.071e-05/0.5062, allocations: 111.4 kB / 0.6442 GB, free: 1.551 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008323/0.5071, allocations: 0.6797 MB / 0.6449 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.826e-05/0.5071, allocations: 37.7 kB / 0.6449 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.5074, allocations: 466 kB / 0.6454 GB, free: 368 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.5076, allocations: 205.1 kB / 0.6456 GB, free: 160 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003322/0.508, allocations: 226.7 kB / 0.6458 GB, free: 15.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000179/0.5082, allocations: 386.8 kB / 0.6461 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004596/0.5086, allocations: 278.5 kB / 0.6464 GB, free: 15.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007613/0.5094, allocations: 0.7669 MB / 0.6472 GB, free: 14.27 MB / 494.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.01527/0.5247, allocations: 3.307 MB / 0.6504 GB, free: 10.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.5247, allocations: 4 kB / 0.6504 GB, free: 10.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002006/0.5267, allocations: 1.229 MB / 0.6516 GB, free: 9.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.5268, allocations: 12 kB / 0.6516 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.304e-05/0.5268, allocations: 19.98 kB / 0.6516 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008883/0.5277, allocations: 272.9 kB / 0.6519 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.5283, allocations: 211.6 kB / 0.6521 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009191/0.5292, allocations: 0.9021 MB / 0.653 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000629/0.5298, allocations: 47.97 kB / 0.653 GB, free: 7.996 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.53, allocations: 95.98 kB / 0.6531 GB, free: 7.902 MB / 494.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: 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 (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 {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004332/0.5304, allocations: 290.1 kB / 0.6534 GB, free: 7.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.5306, allocations: 83 kB / 0.6535 GB, free: 7.527 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.5329, allocations: 1.212 MB / 0.6546 GB, free: 6.305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.5329, allocations: 7.938 kB / 0.6546 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5329, allocations: 0 / 0.6546 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.5329, allocations: 7.922 kB / 0.6547 GB, free: 6.289 MB / 494.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.003089/0.536, allocations: 1.982 MB / 0.6566 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.536, allocations: 0 / 0.6566 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.5363, allocations: 95.83 kB / 0.6567 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/0.5378, allocations: 284.6 kB / 0.657 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.38e-05/0.5379, allocations: 27.98 kB / 0.657 GB, free: 3.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001028/0.5389, allocations: 0.8411 MB / 0.6578 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.535e-06/0.5389, allocations: 7.938 kB / 0.6578 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002195/0.5411, allocations: 1.135 MB / 0.6589 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004897/0.5416, allocations: 216.1 kB / 0.6591 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.5418, allocations: 12 kB / 0.6591 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004651/0.5423, allocations: 23.98 kB / 0.6592 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.583e-05/0.5424, allocations: 44.52 kB / 0.6592 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.5425, allocations: 67.97 kB / 0.6593 GB, free: 1.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006265/0.5431, allocations: 474.9 kB / 0.6597 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5431, allocations: 0 / 0.6597 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001258/0.5444, allocations: 343.9 kB / 0.66 GB, free: 0.5469 MB / 494.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 (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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003352/0.5478, allocations: 1.966 MB / 0.662 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.5492, allocations: 0.7982 MB / 0.6627 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5493, allocations: 3.859 kB / 0.6627 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007628/0.55, allocations: 335 kB / 0.6631 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.5519, allocations: 420.2 kB / 0.6635 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009871/0.5617, allocations: 7.474 MB / 0.6708 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005326/0.5623, allocations: 0.9868 MB / 0.6717 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001252/0.5636, allocations: 0.5927 MB / 0.6723 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005361/0.5641, allocations: 347.2 kB / 0.6726 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.5641, allocations: 0 / 0.6726 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05799/0.6221, allocations: 29.38 MB / 0.7013 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/13.05, allocations: 11.27 kB / 0.7013 GB, free: 6.035 MB / 0.5294 GB (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/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)