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.001734/0.001734, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.496/1.496, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.003175/0.003175, allocations: 0.5658 MB / 291 MB, free: 1.691 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 55.91 kB / 351.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1123, allocations: 49.61 MB / 401.3 MB, free: 0.5703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.InconsistentInitialization.Fluid.TwoVolumesFullInitialInconsistent): time 0.719/0.8313, allocations: 179.3 MB / 0.567 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006275/0.8376, allocations: 3.173 MB / 0.5701 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001092/0.8388, allocations: 24.69 kB / 0.5701 GB, free: 1.539 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.8403, allocations: 407.7 kB / 0.5705 GB, free: 1.531 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005455/0.8458, allocations: 1.591 MB / 0.5721 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003509/0.8493, allocations: 1.103 MB / 0.5731 GB, free: 1.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00394/0.8532, allocations: 2.415 MB / 0.5755 GB, free: 1.438 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.8546, allocations: 0.6076 MB / 0.5761 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.8578, allocations: 0.9908 MB / 0.577 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001791/0.8596, allocations: 0.7282 MB / 0.5778 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.8598, allocations: 80.97 kB / 0.5778 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.8633, allocations: 0.9836 MB / 0.5788 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003907/0.8637, allocations: 317.7 kB / 0.5791 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008051/0.8645, allocations: 496.4 kB / 0.5796 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004273/0.8688, allocations: 1.725 MB / 0.5813 GB, free: 1.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.8688, allocations: 0 / 0.5813 GB, free: 1.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.8688, allocations: 0.9062 kB / 0.5813 GB, free: 1.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.137e-05/0.8689, allocations: 1.203 kB / 0.5813 GB, free: 1.27 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.003627/0.8725, allocations: 1.305 MB / 0.5825 GB, free: 16.61 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.8726, allocations: 9.531 kB / 0.5825 GB, free: 16.61 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/0.8728, allocations: 128.4 kB / 0.5827 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.8739, allocations: 168.7 kB / 0.5828 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009256/0.8748, allocations: 0.5604 MB / 0.5834 GB, free: 16.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.875, allocations: 178.3 kB / 0.5835 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.8751, allocations: 76.88 kB / 0.5836 GB, free: 16.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.8767, allocations: 1.092 MB / 0.5847 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/0.8767, allocations: 7.031 kB / 0.5847 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.8768, allocations: 31.28 kB / 0.5847 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-05/0.8769, allocations: 37.56 kB / 0.5848 GB, free: 15.81 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.8781, allocations: 0.785 MB / 0.5855 GB, free: 15.81 MB / 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.006279/0.8844, allocations: 5.729 MB / 0.5911 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006701/0.8851, allocations: 390.6 kB / 0.5915 GB, free: 11.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003203/0.8854, allocations: 221.3 kB / 0.5917 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000292/0.8857, allocations: 266.2 kB / 0.592 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.145e-05/0.8858, allocations: 39.72 kB / 0.592 GB, free: 11.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=44): time 2.525e-06/0.8858, allocations: 1.203 kB / 0.592 GB, free: 11.47 MB / 446.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.009956/0.8957, allocations: 3.004 MB / 0.5949 GB, free: 10.81 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/0.8959, allocations: 108.9 kB / 0.595 GB, free: 10.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008306/0.8967, allocations: 0.6742 MB / 0.5957 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.674e-05/0.8968, allocations: 43.42 kB / 0.5957 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003462/0.8971, allocations: 463.1 kB / 0.5962 GB, free: 10.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001735/0.8973, allocations: 201.6 kB / 0.5964 GB, free: 10.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002722/0.8976, allocations: 230.2 kB / 0.5966 GB, free: 10.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002116/0.8978, allocations: 390 kB / 0.597 GB, free: 9.777 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004356/0.8983, allocations: 284.6 kB / 0.5972 GB, free: 9.773 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008675/0.8991, allocations: 0.7643 MB / 0.598 GB, free: 9.168 MB / 446.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.01635/0.9155, allocations: 3.319 MB / 0.6012 GB, free: 8.461 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/0.9155, allocations: 4.75 kB / 0.6012 GB, free: 8.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002226/0.9178, allocations: 1.215 MB / 0.6024 GB, free: 8.371 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.9178, allocations: 17.47 kB / 0.6024 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.792e-05/0.9179, allocations: 16.41 kB / 0.6024 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009314/0.9188, allocations: 277.9 kB / 0.6027 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.9194, allocations: 211.6 kB / 0.6029 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001083/0.9205, allocations: 0.9021 MB / 0.6038 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008045/0.9213, allocations: 39.66 kB / 0.6038 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.9215, allocations: 98.94 kB / 0.6039 GB, free: 7.832 MB / 446.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.0005605/0.922, allocations: 292 kB / 0.6042 GB, free: 7.707 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.9222, allocations: 83.53 kB / 0.6043 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002572/0.9248, allocations: 1.199 MB / 0.6054 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.9248, allocations: 9.25 kB / 0.6055 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9248, allocations: 0 / 0.6055 GB, free: 7.539 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.9249, allocations: 3.094 kB / 0.6055 GB, free: 7.539 MB / 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 postOpt removeSimpleEquations (simulation): time 0.003288/0.9281, allocations: 1.987 MB / 0.6074 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.9282, allocations: 2.5 kB / 0.6074 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003021/0.9285, allocations: 94.39 kB / 0.6075 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.9299, allocations: 290.5 kB / 0.6078 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-05/0.93, allocations: 27.06 kB / 0.6078 GB, free: 6.789 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001/0.931, allocations: 0.8354 MB / 0.6086 GB, free: 6.266 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.931, allocations: 6.531 kB / 0.6086 GB, free: 6.262 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.9329, allocations: 1.131 MB / 0.6097 GB, free: 6.004 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004404/0.9334, allocations: 223.1 kB / 0.6099 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.9335, allocations: 16.16 kB / 0.6099 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.934, allocations: 23.94 kB / 0.61 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.9341, allocations: 49.83 kB / 0.61 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.997e-05/0.9342, allocations: 61.36 kB / 0.6101 GB, free: 5.859 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006116/0.9348, allocations: 475 kB / 0.6105 GB, free: 5.762 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.9348, allocations: 0 / 0.6105 GB, free: 5.762 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001339/0.9361, allocations: 347.6 kB / 0.6109 GB, free: 5.738 MB / 446.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.003389/0.9395, allocations: 1.963 MB / 0.6128 GB, free: 4.906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.9413, allocations: 0.8413 MB / 0.6136 GB, free: 4.879 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/0.9414, allocations: 10.55 kB / 0.6136 GB, free: 4.871 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007937/0.9422, allocations: 338.1 kB / 0.6139 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002159/0.9443, allocations: 418.8 kB / 0.6143 GB, free: 4.711 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01107/0.9554, allocations: 7.785 MB / 0.6219 GB, free: 14.01 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007236/0.9562, allocations: 0.9895 MB / 0.6229 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00186/0.9581, allocations: 0.5746 MB / 0.6235 GB, free: 12.44 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/0.9587, allocations: 347.9 kB / 0.6238 GB, free: 12.29 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.9587, allocations: 0 / 0.6238 GB, free: 12.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08133/1.04, allocations: 28.68 MB / 0.6518 GB, free: 72 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/13.4, allocations: 16.77 kB / 0.6518 GB, free: 56 kB / 478.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 & 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)