Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.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.001293/0.001293, allocations: 108.9 kB / 16.46 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.001314/0.001314, 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.402/1.402, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.002876/0.002876, allocations: 0.5707 MB / 309.4 MB, free: 3.68 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.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.89 kB / 430 MB, free: 18.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08779/0.08963, allocations: 53.49 MB / 483.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001733/0.09137, allocations: 0.5594 MB / 484.1 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001952/0.09156, allocations: 50.42 kB / 484.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.908e-05/0.09159, allocations: 7.938 kB / 484.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.09161, allocations: 7.938 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.108e-05/0.09168, allocations: 7.938 kB / 484.1 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.479e-05/0.09178, allocations: 15.95 kB / 484.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.921e-05/0.09186, allocations: 47.84 kB / 484.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.09191, allocations: 4 kB / 484.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.487e-05/0.09194, allocations: 19.92 kB / 484.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.09202, allocations: 35.78 kB / 484.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.09204, allocations: 4 kB / 484.2 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.09205, allocations: 4 kB / 484.3 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.09207, allocations: 15.97 kB / 484.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.09211, allocations: 27.8 kB / 484.3 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 8.28e-05/0.09219, allocations: 36.09 kB / 484.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.0922, allocations: 0 / 484.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.0922, allocations: 0 / 484.3 MB, free: 12.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.0922, allocations: 0 / 484.3 MB, free: 12.13 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.0005398/0.09274, allocations: 375.3 kB / 484.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.09278, allocations: 12.03 kB / 484.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.842e-05/0.09281, allocations: 38.75 kB / 484.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.653e-05/0.09284, allocations: 4.938 kB / 484.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.093, allocations: 176.3 kB / 484.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.09301, allocations: 8.375 kB / 484.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.09304, allocations: 16.31 kB / 484.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.09318, allocations: 64.61 kB / 485 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.09319, allocations: 3.938 kB / 485 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.0932, allocations: 7.938 kB / 485 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.0932, allocations: 0 / 485 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.09329, allocations: 39.97 kB / 485.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004664/0.09375, allocations: 305.2 kB / 485.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.09405, allocations: 118.6 kB / 485.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.09412, allocations: 40.84 kB / 485.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.09413, allocations: 0 / 485.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.09415, allocations: 34.56 kB / 485.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.09415, allocations: 0 / 485.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002671/0.09682, allocations: 0.7893 MB / 486.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.09687, allocations: 59.31 kB / 486.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.589e-05/0.09696, allocations: 117.7 kB / 486.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.097, allocations: 33.7 kB / 486.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.404e-05/0.09705, allocations: 80.47 kB / 486.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.72e-05/0.09711, allocations: 75.41 kB / 486.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.09717, allocations: 33.66 kB / 486.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.09731, allocations: 322.8 kB / 487 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-05/0.09739, allocations: 47.98 kB / 487.1 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.09749, allocations: 68.12 kB / 487.2 MB, free: 9.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002656/0.1001, allocations: 0.5593 MB / 487.7 MB, free: 8.438 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1001, allocations: 4 kB / 487.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001614/0.1018, allocations: 368.6 kB / 488.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.1018, allocations: 4 kB / 488.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.1018, allocations: 0 / 488.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/0.1036, allocations: 296.6 kB / 488.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.2e-05/0.1036, allocations: 15.94 kB / 488.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004116/0.1077, allocations: 2.363 MB / 490.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.043e-05/0.1078, allocations: 8 kB / 490.8 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1078, allocations: 12.03 kB / 490.8 MB, free: 5.234 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.p2 = 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001794/0.108, allocations: 121.8 kB / 490.9 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.1081, allocations: 11.89 kB / 490.9 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.265e-05/0.1081, allocations: 16.84 kB / 490.9 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.1081, allocations: 4 kB / 490.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1081, allocations: 0 / 490.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.1081, allocations: 0 / 490.9 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.1095, allocations: 0.573 MB / 491.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1095, allocations: 0 / 491.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.1095, allocations: 19.92 kB / 491.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.1115, allocations: 280.5 kB / 491.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1115, allocations: 8 kB / 491.8 MB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002753/0.1143, allocations: 1.99 MB / 493.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1143, allocations: 0 / 493.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/0.1154, allocations: 428.8 kB / 494.2 MB, free: 1.566 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.1154, allocations: 81.06 kB / 494.3 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.1154, allocations: 4 kB / 494.3 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.1155, allocations: 4 kB / 494.3 MB, free: 1.461 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1156, allocations: 19.95 kB / 494.3 MB, free: 1.441 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.1156, allocations: 7.938 kB / 494.3 MB, free: 1.434 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.284e-05/0.1157, allocations: 87.27 kB / 494.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1157, allocations: 4 kB / 494.4 MB, free: 1.344 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000355/0.116, allocations: 40 kB / 494.4 MB, free: 1.305 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (p2,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 (9): * Single equations (assignments): 8 * 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 {(4,5,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001403/0.1174, allocations: 0.9481 MB / 495.4 MB, free: 328 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006762/0.1181, allocations: 314.4 kB / 495.7 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1181, allocations: 0 / 495.7 MB, free: 0 / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.1187, allocations: 251 kB / 495.9 MB, free: 15.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1189, allocations: 7.938 kB / 496 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/0.1235, allocations: 2.141 MB / 498.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1238, allocations: 0.7085 MB / 498.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.469e-05/0.1238, allocations: 4.828 kB / 498.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.495e-05/0.1239, allocations: 27.42 kB / 498.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1239, allocations: 0 / 498.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03176/0.1556, allocations: 4.059 MB / 0.4911 GB, free: 8.918 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/11.91, allocations: 10 kB / 0.4911 GB, free: 8.914 MB / 366.1 MB " [Timeout remaining time 648] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature_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_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.389871086998028] Failed to read output from testmodel.py, exit status != 0: 11.99938537600974 12.014134269 11.919145351 Calling exit ...