Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 108.7 kB / 16.45 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.372/1.372, allocations: 230.6 MB / 252.8 MB, free: 8.957 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo): time 0.004328/0.004328, allocations: 0.5747 MB / 309.4 MB, free: 3.684 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaTestOverdetermined with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStateMassAndEnergy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.88 kB / 430 MB, free: 18.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08588/0.08777, allocations: 53.48 MB / 483.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001735/0.08951, allocations: 0.571 MB / 484.1 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002053/0.08971, allocations: 54.42 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.27e-05/0.08975, allocations: 0 / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.638e-05/0.08976, allocations: 7.938 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.555e-05/0.08984, allocations: 7.938 kB / 484.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.691e-05/0.08993, allocations: 7.984 kB / 484.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.755e-05/0.09001, allocations: 55.81 kB / 484.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.78e-05/0.09006, allocations: 4 kB / 484.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.0901, allocations: 19.92 kB / 484.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.249e-05/0.09018, allocations: 31.84 kB / 484.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.0902, allocations: 4 kB / 484.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.09021, allocations: 4 kB / 484.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.09023, allocations: 15.97 kB / 484.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.654e-05/0.09027, allocations: 27.8 kB / 484.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.943e-05/0.09035, allocations: 36.09 kB / 484.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.09035, allocations: 0 / 484.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09036, allocations: 0 / 484.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.09036, allocations: 0 / 484.3 MB, free: 12.12 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005399/0.0909, allocations: 375.3 kB / 484.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.09093, allocations: 8.031 kB / 484.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.09098, allocations: 42.75 kB / 484.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.09101, allocations: 4.938 kB / 484.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.09119, allocations: 184.2 kB / 484.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.0912, allocations: 4.375 kB / 484.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.172e-05/0.09123, allocations: 12.38 kB / 485 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.09137, allocations: 65.86 kB / 485 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.09138, allocations: 11.88 kB / 485 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.09139, allocations: 0 / 485 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.09139, allocations: 0 / 485 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.96e-05/0.09148, allocations: 43.91 kB / 485.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005009/0.09198, allocations: 313.1 kB / 485.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.09224, allocations: 94.55 kB / 485.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.082e-05/0.09232, allocations: 32.84 kB / 485.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.09233, allocations: 0 / 485.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.09236, allocations: 38.5 kB / 485.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.52e-07/0.09236, allocations: 4 kB / 485.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.003313/0.09567, allocations: 0.8478 MB / 486.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/0.09571, allocations: 51.41 kB / 486.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.299e-05/0.0958, allocations: 117.8 kB / 486.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.09583, allocations: 29.7 kB / 486.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.336e-05/0.09588, allocations: 88.12 kB / 486.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/0.09593, allocations: 55.48 kB / 486.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.182e-05/0.09599, allocations: 37.7 kB / 486.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.09614, allocations: 322.8 kB / 487.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.723e-05/0.09622, allocations: 39.98 kB / 487.1 MB, free: 9.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.729e-05/0.09632, allocations: 68.38 kB / 487.2 MB, free: 9 MB / 350.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002551/0.09887, allocations: 479.9 kB / 487.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.09887, allocations: 4 kB / 487.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001498/0.1004, allocations: 330 kB / 488 MB, free: 8.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1004, allocations: 4 kB / 488 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1004, allocations: 0 / 488 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.1022, allocations: 260.5 kB / 488.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.573e-05/0.1022, allocations: 15.98 kB / 488.2 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003398/0.1056, allocations: 1.95 MB / 490.2 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.074e-05/0.1057, allocations: 4.062 kB / 490.2 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.1057, allocations: 4 kB / 490.2 MB, free: 5.812 MB / 350.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.E1 = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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 {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001836/0.1059, allocations: 128.5 kB / 490.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.832e-05/0.1059, allocations: 11.89 kB / 490.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.61e-05/0.106, allocations: 16.62 kB / 490.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.106, allocations: 4 kB / 490.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.106, allocations: 4 kB / 490.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.106, allocations: 3.984 kB / 490.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.1062, allocations: 205.7 kB / 490.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1062, allocations: 0 / 490.6 MB, free: 5.387 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.1063, allocations: 12 kB / 490.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001873/0.1082, allocations: 272.8 kB / 490.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.1082, allocations: 7.984 kB / 490.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002489/0.1107, allocations: 1.936 MB / 492.8 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1107, allocations: 8 kB / 492.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.1117, allocations: 400 kB / 493.2 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.008e-05/0.1118, allocations: 89.06 kB / 493.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.1118, allocations: 7.938 kB / 493.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.1119, allocations: 0 / 493.3 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.368e-05/0.112, allocations: 16.02 kB / 493.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.112, allocations: 4 kB / 493.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.018e-05/0.112, allocations: 87.28 kB / 493.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.112, allocations: 0 / 493.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003157/0.1123, allocations: 39.94 kB / 493.4 MB, free: 2.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (p1,T1,T2) * 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 (8): * Single equations (assignments): 7 * 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): 1 system {(3,5,88.9%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00139/0.1137, allocations: 0.9274 MB / 494.4 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008265/0.1146, allocations: 330.6 kB / 494.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1146, allocations: 0 / 494.7 MB, free: 1.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003564/0.1149, allocations: 224.7 kB / 494.9 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/0.1151, allocations: 11.94 kB / 494.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/0.1195, allocations: 2.013 MB / 496.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1199, allocations: 0.7007 MB / 497.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.977e-05/0.1199, allocations: 8.562 kB / 497.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.12, allocations: 27.42 kB / 497.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.12, allocations: 0 / 497.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0307/0.1507, allocations: 3.814 MB / 0.4897 GB, free: 10.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/11.94, allocations: 7.328 kB / 0.4897 GB, free: 10.4 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy_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_TwoVolumesEquationsFullSteadyStateMassAndEnergy.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.410618389010779] Failed to read output from testmodel.py, exit status != 0: 12.043985962998704 12.0592058 11.966097348 Calling exit ...