Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.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.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesFullSteadyStatePressureAndTemperature",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.005745/0.005745, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001319/0.001319, allocations: 193.8 kB / 16.67 MB, free: 5.977 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.297 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.003434/0.003435, allocations: 0.5702 MB / 291.1 MB, free: 1.598 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1869/0.1869, allocations: 63.8 kB / 401.9 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.2978, allocations: 49.59 MB / 451.5 MB, free: 5.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.5093/0.8071, allocations: 179.3 MB / 0.6161 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005641/0.8128, allocations: 3.174 MB / 0.6192 GB, free: 9.578 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007957/0.8137, allocations: 22.53 kB / 0.6192 GB, free: 9.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001091/0.8148, allocations: 403.8 kB / 0.6196 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004536/0.8194, allocations: 1.603 MB / 0.6211 GB, free: 8.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.8223, allocations: 1.106 MB / 0.6222 GB, free: 8.141 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002772/0.8251, allocations: 2.406 MB / 0.6246 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008095/0.8259, allocations: 0.595 MB / 0.6252 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001765/0.8277, allocations: 1.01 MB / 0.6261 GB, free: 6.031 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008785/0.8286, allocations: 0.7285 MB / 0.6269 GB, free: 5.684 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.8287, allocations: 84.56 kB / 0.6269 GB, free: 5.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.8314, allocations: 1.019 MB / 0.6279 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.8318, allocations: 328.7 kB / 0.6282 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005394/0.8323, allocations: 493 kB / 0.6287 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.8351, allocations: 1.74 MB / 0.6304 GB, free: 3.719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8351, allocations: 4 kB / 0.6304 GB, free: 3.715 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.8351, allocations: 2.781 kB / 0.6304 GB, free: 3.715 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.8351, allocations: 0 / 0.6304 GB, free: 3.715 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.002632/0.8378, allocations: 1.326 MB / 0.6317 GB, free: 2.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.8378, allocations: 10.98 kB / 0.6317 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001491/0.838, allocations: 128.8 kB / 0.6318 GB, free: 2.625 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.839, allocations: 180.1 kB / 0.632 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009517/0.84, allocations: 0.5864 MB / 0.6326 GB, free: 2.078 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.8401, allocations: 182.6 kB / 0.6328 GB, free: 1.922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.8402, allocations: 69.7 kB / 0.6328 GB, free: 1.898 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.8417, allocations: 1.085 MB / 0.6339 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.8418, allocations: 5.75 kB / 0.6339 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/0.8419, allocations: 43.78 kB / 0.6339 GB, free: 1.082 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-05/0.8419, allocations: 33.58 kB / 0.634 GB, free: 1.078 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001163/0.8431, allocations: 0.7843 MB / 0.6347 GB, free: 316 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.005555/0.8487, allocations: 5.704 MB / 0.6403 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006592/0.8493, allocations: 399.1 kB / 0.6407 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.8497, allocations: 220.8 kB / 0.6409 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.8499, allocations: 258.3 kB / 0.6411 GB, free: 9.328 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.8499, allocations: 42.59 kB / 0.6412 GB, free: 9.277 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 2.444e-06/0.85, allocations: 0 / 0.6412 GB, free: 9.277 MB / 462.1 MB Notification: Performance of matching and sorting (n=55): time 0.006771/0.8567, allocations: 2.28 MB / 0.6434 GB, free: 6.934 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.945e-05/0.8568, allocations: 111.4 kB / 0.6435 GB, free: 6.801 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007185/0.8575, allocations: 0.6749 MB / 0.6442 GB, free: 6.121 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.63e-05/0.8576, allocations: 37.7 kB / 0.6442 GB, free: 6.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002878/0.8579, allocations: 477.3 kB / 0.6447 GB, free: 5.613 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.8581, allocations: 211.7 kB / 0.6449 GB, free: 5.41 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.8583, allocations: 230.8 kB / 0.6451 GB, free: 5.18 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.8585, allocations: 390.8 kB / 0.6455 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.8589, allocations: 286.4 kB / 0.6457 GB, free: 4.508 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007235/0.8597, allocations: 0.7591 MB / 0.6465 GB, free: 3.516 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0145/0.8742, allocations: 3.11 MB / 0.6495 GB, free: 156 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.8742, allocations: 4 kB / 0.6495 GB, free: 152 kB / 462.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.001977/0.8762, allocations: 1.28 MB / 0.6508 GB, free: 14.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.8763, allocations: 12 kB / 0.6508 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.885e-05/0.8763, allocations: 16 kB / 0.6508 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001754/0.878, allocations: 460.9 kB / 0.6512 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000472/0.8785, allocations: 191.6 kB / 0.6514 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001305/0.8798, allocations: 1.111 MB / 0.6525 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.8805, allocations: 48.03 kB / 0.6526 GB, free: 13.01 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.8806, allocations: 95.98 kB / 0.6526 GB, free: 12.91 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: $DER.V2.medium.p = 0.0. 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 (101): * Single equations (assignments): 100 * 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,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004768/0.8811, allocations: 295.1 kB / 0.6529 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.8813, allocations: 83.48 kB / 0.653 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.8834, allocations: 1.214 MB / 0.6542 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.8834, allocations: 4 kB / 0.6542 GB, free: 11.31 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.8834, allocations: 3.938 kB / 0.6542 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.8834, allocations: 3.984 kB / 0.6542 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.8863, allocations: 1.981 MB / 0.6561 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.8863, allocations: 0 / 0.6561 GB, free: 9.188 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002927/0.8866, allocations: 91.89 kB / 0.6562 GB, free: 9.098 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00131/0.8879, allocations: 288.6 kB / 0.6565 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.888, allocations: 27.98 kB / 0.6565 GB, free: 8.785 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008323/0.8888, allocations: 0.8488 MB / 0.6574 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.8889, allocations: 0 / 0.6574 GB, free: 7.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/0.8906, allocations: 1.14 MB / 0.6585 GB, free: 6.734 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.891, allocations: 224.5 kB / 0.6587 GB, free: 6.496 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.8911, allocations: 12 kB / 0.6587 GB, free: 6.484 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004339/0.8915, allocations: 27.98 kB / 0.6587 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.701e-05/0.8916, allocations: 48.45 kB / 0.6588 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.986e-05/0.8917, allocations: 63.97 kB / 0.6588 GB, free: 6.348 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000512/0.8922, allocations: 471 kB / 0.6593 GB, free: 5.895 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8922, allocations: 0 / 0.6593 GB, free: 5.895 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001183/0.8934, allocations: 347.6 kB / 0.6596 GB, free: 5.555 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.00287/0.8963, allocations: 1.96 MB / 0.6615 GB, free: 3.574 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.8978, allocations: 0.7947 MB / 0.6623 GB, free: 2.785 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.8978, allocations: 3.859 kB / 0.6623 GB, free: 2.781 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007144/0.8986, allocations: 339.8 kB / 0.6626 GB, free: 2.453 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.9003, allocations: 418.2 kB / 0.663 GB, free: 2.055 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009121/0.9094, allocations: 7.621 MB / 0.6705 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.91, allocations: 0.9907 MB / 0.6714 GB, free: 8.805 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001196/0.9112, allocations: 0.5624 MB / 0.672 GB, free: 8.242 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004981/0.9117, allocations: 343.3 kB / 0.6723 GB, free: 7.906 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.9117, allocations: 0 / 0.6723 GB, free: 7.906 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3137/1.225, allocations: 29.75 MB / 0.7014 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.12/14.35, allocations: 21.31 kB / 0.7014 GB, free: 10.46 MB / 0.5137 GB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature_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_TwoVolumesFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1)