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.008788/0.008788, allocations: 101.2 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.002206/0.002206, allocations: 187.4 kB / 16.67 MB, free: 5.93 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.51/1.51, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.002878/0.002878, allocations: 0.5663 MB / 291.1 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1609/0.1609, allocations: 59.42 kB / 401.9 MB, free: 9.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.2606, allocations: 49.59 MB / 451.5 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.5226/0.7832, allocations: 179.4 MB / 0.6161 GB, free: 10.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005729/0.789, allocations: 3.174 MB / 0.6192 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.7902, allocations: 24.56 kB / 0.6192 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001287/0.7916, allocations: 399.1 kB / 0.6196 GB, free: 9.379 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004944/0.7965, allocations: 1.585 MB / 0.6212 GB, free: 8.605 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.7996, allocations: 1.113 MB / 0.6222 GB, free: 8.168 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003095/0.8027, allocations: 2.42 MB / 0.6246 GB, free: 6.902 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009445/0.8037, allocations: 0.5962 MB / 0.6252 GB, free: 6.523 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.8056, allocations: 0.9969 MB / 0.6262 GB, free: 6.047 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001084/0.8067, allocations: 0.7359 MB / 0.6269 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.8069, allocations: 80.62 kB / 0.627 GB, free: 5.691 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.8093, allocations: 1.019 MB / 0.628 GB, free: 5.223 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.8097, allocations: 324.3 kB / 0.6283 GB, free: 5.008 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.8103, allocations: 491.4 kB / 0.6287 GB, free: 4.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002875/0.8132, allocations: 1.742 MB / 0.6304 GB, free: 3.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/0.8132, allocations: 4 kB / 0.6304 GB, free: 3.727 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.8132, allocations: 0 / 0.6304 GB, free: 3.727 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.8133, allocations: 0 / 0.6304 GB, free: 3.727 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002668/0.8159, allocations: 1.324 MB / 0.6317 GB, free: 2.746 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.816, allocations: 10.44 kB / 0.6317 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.8162, allocations: 128.4 kB / 0.6319 GB, free: 2.641 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.8172, allocations: 179.1 kB / 0.632 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009846/0.8182, allocations: 0.587 MB / 0.6326 GB, free: 2.098 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.8184, allocations: 178.9 kB / 0.6328 GB, free: 1.941 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.8185, allocations: 76.95 kB / 0.6328 GB, free: 1.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001646/0.8202, allocations: 1.081 MB / 0.6339 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.8202, allocations: 14.95 kB / 0.6339 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/0.8203, allocations: 36.09 kB / 0.634 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-05/0.8204, allocations: 29.31 kB / 0.634 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.8218, allocations: 0.7898 MB / 0.6348 GB, free: 324 kB / 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.00721/0.829, allocations: 5.718 MB / 0.6403 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009918/0.83, allocations: 395.3 kB / 0.6407 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000366/0.8304, allocations: 216.9 kB / 0.6409 GB, free: 9.637 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002954/0.8307, allocations: 275.4 kB / 0.6412 GB, free: 9.316 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.8308, allocations: 38.56 kB / 0.6412 GB, free: 9.27 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 2.425e-06/0.8308, allocations: 3.938 kB / 0.6412 GB, free: 9.266 MB / 462.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.01126/0.842, allocations: 3.008 MB / 0.6442 GB, free: 6.172 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.8421, allocations: 111.4 kB / 0.6443 GB, free: 6.039 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/0.8431, allocations: 0.676 MB / 0.6449 GB, free: 5.355 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.26e-05/0.8432, allocations: 37.7 kB / 0.645 GB, free: 5.312 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003755/0.8436, allocations: 480.4 kB / 0.6454 GB, free: 4.848 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002065/0.8438, allocations: 215.4 kB / 0.6456 GB, free: 4.641 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003242/0.8441, allocations: 230.8 kB / 0.6458 GB, free: 4.41 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.8443, allocations: 390.8 kB / 0.6462 GB, free: 4.02 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.8448, allocations: 282.5 kB / 0.6465 GB, free: 3.742 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009842/0.8458, allocations: 0.763 MB / 0.6472 GB, free: 2.746 MB / 462.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.01594/0.8618, allocations: 3.307 MB / 0.6505 GB, free: 15.19 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.8618, allocations: 4 kB / 0.6505 GB, free: 15.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002359/0.8642, allocations: 1.222 MB / 0.6517 GB, free: 13.96 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.8642, allocations: 12 kB / 0.6517 GB, free: 13.95 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.8643, allocations: 16 kB / 0.6517 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.8653, allocations: 279.6 kB / 0.652 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006728/0.866, allocations: 207.7 kB / 0.6522 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001178/0.8672, allocations: 0.9051 MB / 0.653 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007183/0.8679, allocations: 43.94 kB / 0.6531 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/0.8681, allocations: 95.98 kB / 0.6532 GB, free: 12.39 MB / 478.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.0005062/0.8686, allocations: 298.3 kB / 0.6535 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00018/0.8688, allocations: 83.48 kB / 0.6535 GB, free: 12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.8712, allocations: 1.213 MB / 0.6547 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.8713, allocations: 11.88 kB / 0.6547 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8713, allocations: 4 kB / 0.6547 GB, free: 10.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.8713, allocations: 3.984 kB / 0.6547 GB, free: 10.75 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 postOpt removeSimpleEquations (simulation): time 0.003573/0.8749, allocations: 1.98 MB / 0.6567 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.8749, allocations: 0 / 0.6567 GB, free: 8.641 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.8752, allocations: 96.05 kB / 0.6568 GB, free: 8.547 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.8767, allocations: 284.4 kB / 0.657 GB, free: 8.266 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-05/0.8768, allocations: 31.98 kB / 0.6571 GB, free: 8.234 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.8779, allocations: 0.839 MB / 0.6579 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.8779, allocations: 4 kB / 0.6579 GB, free: 7.367 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002233/0.8801, allocations: 1.132 MB / 0.659 GB, free: 6.203 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004754/0.8806, allocations: 220.5 kB / 0.6592 GB, free: 5.969 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/0.8808, allocations: 12 kB / 0.6592 GB, free: 5.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/0.8812, allocations: 31.98 kB / 0.6592 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.68e-05/0.8813, allocations: 52.62 kB / 0.6593 GB, free: 5.875 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.85e-05/0.8814, allocations: 55.98 kB / 0.6593 GB, free: 5.82 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006814/0.8821, allocations: 478.9 kB / 0.6598 GB, free: 5.359 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8821, allocations: 3.938 kB / 0.6598 GB, free: 5.355 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001251/0.8834, allocations: 355.5 kB / 0.6601 GB, free: 5.008 MB / 478.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.003473/0.8869, allocations: 1.97 MB / 0.6621 GB, free: 3.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001833/0.8887, allocations: 0.7896 MB / 0.6628 GB, free: 2.234 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.8888, allocations: 7.859 kB / 0.6628 GB, free: 2.227 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008518/0.8896, allocations: 342.5 kB / 0.6632 GB, free: 1.895 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002141/0.8918, allocations: 411.3 kB / 0.6636 GB, free: 1.496 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.9033, allocations: 7.527 MB / 0.6709 GB, free: 9.363 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/0.9041, allocations: 0.9868 MB / 0.6719 GB, free: 8.348 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001465/0.9056, allocations: 0.5775 MB / 0.6724 GB, free: 7.766 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006221/0.9062, allocations: 343.3 kB / 0.6728 GB, free: 7.43 MB / 494.1 MB Notification: Performance of SimCode: time 1.423e-06/0.9063, allocations: 0 / 0.6728 GB, free: 7.43 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0716/0.9779, allocations: 29 MB / 0.7011 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/14.18, allocations: 11.42 kB / 0.7011 GB, free: 10.78 MB / 0.5137 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 & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent_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_InconsistentInitialization_Fluid_TwoVolumesFullInitialInconsistent.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent.pipe 2>&1)