Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial",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.007387/0.007395, allocations: 101.9 kB / 15.73 MB, free: 6.004 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.001538/0.001538, allocations: 193.4 kB / 16.67 MB, free: 5.922 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.11 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.003234/0.003233, allocations: 0.5711 MB / 291.1 MB, free: 14.17 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.89 kB / 401.9 MB, free: 32.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08414/0.08531, allocations: 49.59 MB / 451.5 MB, free: 15.03 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.4178/0.5032, allocations: 179.3 MB / 0.6161 GB, free: 15.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.5086, allocations: 3.174 MB / 0.6192 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007497/0.5094, allocations: 23.88 kB / 0.6192 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.5105, allocations: 405.4 kB / 0.6196 GB, free: 11.67 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004006/0.5145, allocations: 1.608 MB / 0.6212 GB, free: 10.06 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002773/0.5173, allocations: 1.104 MB / 0.6222 GB, free: 8.965 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002672/0.52, allocations: 2.419 MB / 0.6246 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000767/0.5208, allocations: 0.6034 MB / 0.6252 GB, free: 5.926 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001671/0.5225, allocations: 1.016 MB / 0.6262 GB, free: 4.906 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008319/0.5233, allocations: 0.7316 MB / 0.6269 GB, free: 4.172 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.5234, allocations: 80 kB / 0.627 GB, free: 4.094 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.5256, allocations: 1.018 MB / 0.628 GB, free: 3.078 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.5259, allocations: 323.1 kB / 0.6283 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004881/0.5264, allocations: 0.4901 MB / 0.6288 GB, free: 2.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002277/0.5287, allocations: 1.744 MB / 0.6305 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5287, allocations: 0 / 0.6305 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5287, allocations: 0 / 0.6305 GB, free: 0.5195 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.5287, allocations: 0 / 0.6305 GB, free: 0.5195 MB / 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.002377/0.5311, allocations: 1.324 MB / 0.6317 GB, free: 15.14 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.5312, allocations: 12.03 kB / 0.6318 GB, free: 15.12 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.5313, allocations: 122.5 kB / 0.6319 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001022/0.5324, allocations: 183.1 kB / 0.6321 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.5333, allocations: 0.5824 MB / 0.6326 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001448/0.5334, allocations: 180.8 kB / 0.6328 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.5336, allocations: 75.95 kB / 0.6329 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.535, allocations: 1.091 MB / 0.6339 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.562e-05/0.5351, allocations: 3.938 kB / 0.6339 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.5352, allocations: 32 kB / 0.634 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.5352, allocations: 41.23 kB / 0.634 GB, free: 12.66 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001137/0.5364, allocations: 0.7777 MB / 0.6348 GB, free: 11.88 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.005351/0.5417, allocations: 5.726 MB / 0.6404 GB, free: 5.762 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006512/0.5424, allocations: 400.6 kB / 0.6407 GB, free: 5.363 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.5427, allocations: 220.4 kB / 0.6409 GB, free: 5.148 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002252/0.5429, allocations: 263.3 kB / 0.6412 GB, free: 4.836 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.543, allocations: 46.58 kB / 0.6412 GB, free: 4.781 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.765e-06/0.543, allocations: 4 kB / 0.6412 GB, free: 4.777 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.009489/0.5525, allocations: 3.005 MB / 0.6442 GB, free: 1.688 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.5526, allocations: 115.3 kB / 0.6443 GB, free: 1.551 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007269/0.5533, allocations: 0.676 MB / 0.645 GB, free: 0.8672 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 5.371e-05/0.5534, allocations: 37.7 kB / 0.645 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.5537, allocations: 479.5 kB / 0.6454 GB, free: 360 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001564/0.5538, allocations: 214.2 kB / 0.6456 GB, free: 144 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.5541, allocations: 234.8 kB / 0.6459 GB, free: 15.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5543, allocations: 386.8 kB / 0.6462 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.5547, allocations: 282.4 kB / 0.6465 GB, free: 15.24 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006989/0.5554, allocations: 0.763 MB / 0.6473 GB, free: 14.25 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.01476/0.5702, allocations: 3.304 MB / 0.6505 GB, free: 10.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.5702, allocations: 8 kB / 0.6505 GB, free: 10.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.00188/0.5721, allocations: 1.222 MB / 0.6517 GB, free: 9.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.5721, allocations: 12 kB / 0.6517 GB, free: 9.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.5722, allocations: 20.86 kB / 0.6517 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008358/0.573, allocations: 279.2 kB / 0.652 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005555/0.5736, allocations: 207.6 kB / 0.6522 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008775/0.5745, allocations: 0.9043 MB / 0.6531 GB, free: 8.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006399/0.5751, allocations: 39.94 kB / 0.6531 GB, free: 7.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.5752, allocations: 104 kB / 0.6532 GB, free: 7.879 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.0004599/0.5757, allocations: 293.3 kB / 0.6535 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.5759, allocations: 83.48 kB / 0.6536 GB, free: 7.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.5779, allocations: 1.215 MB / 0.6547 GB, free: 6.266 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.5779, allocations: 4 kB / 0.6547 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.5779, allocations: 0 / 0.6547 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5779, allocations: 3.984 kB / 0.6548 GB, free: 6.258 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002807/0.5807, allocations: 1.993 MB / 0.6567 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.5807, allocations: 0 / 0.6567 GB, free: 4.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002987/0.581, allocations: 96.05 kB / 0.6568 GB, free: 4.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001333/0.5824, allocations: 282.8 kB / 0.6571 GB, free: 3.746 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.735e-05/0.5824, allocations: 27.98 kB / 0.6571 GB, free: 3.719 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008442/0.5833, allocations: 0.8372 MB / 0.6579 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5833, allocations: 3.938 kB / 0.6579 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.5851, allocations: 1.136 MB / 0.659 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000358/0.5855, allocations: 224.5 kB / 0.6592 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.5856, allocations: 16 kB / 0.6592 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.586, allocations: 27.92 kB / 0.6593 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.344e-05/0.5861, allocations: 44.5 kB / 0.6593 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.451e-05/0.5862, allocations: 71.91 kB / 0.6594 GB, free: 1.289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005479/0.5868, allocations: 467 kB / 0.6598 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5868, allocations: 4 kB / 0.6598 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001205/0.588, allocations: 351.5 kB / 0.6602 GB, free: 0.4922 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.003101/0.5911, allocations: 1.975 MB / 0.6621 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.5927, allocations: 0.785 MB / 0.6629 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.5927, allocations: 5.484 kB / 0.6629 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/0.5935, allocations: 343.3 kB / 0.6632 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.5954, allocations: 419.2 kB / 0.6636 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.6063, allocations: 7.512 MB / 0.6709 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/0.6069, allocations: 0.9907 MB / 0.6719 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00135/0.6083, allocations: 0.5822 MB / 0.6725 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005567/0.6088, allocations: 343.3 kB / 0.6728 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of SimCode: time 1.223e-06/0.6089, allocations: 4 kB / 0.6728 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06678/0.6756, allocations: 28.94 MB / 0.7011 GB, free: 6.352 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.88, allocations: 8.219 kB / 0.7011 GB, free: 6.344 MB / 0.5294 GB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1)