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.0009219/0.0009219, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001127/0.001127, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9424/0.9424, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.002153/0.002153, allocations: 416.3 kB / 259.6 MB, free: 12.84 MB / 250.7 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 1.613e-06/1.613e-06, allocations: 0 / 381.8 MB, free: 116 kB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.34e-05, allocations: 6.219 kB / 381.8 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001374/0.001398, allocations: 0.5724 MB / 382.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001883/0.001586, allocations: 47.86 kB / 382.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.197e-05/0.001618, allocations: 0 / 382.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.715e-05/0.001635, allocations: 3.938 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 7.286e-05/0.001708, allocations: 7.875 kB / 382.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.168e-05/0.0018, allocations: 15.95 kB / 382.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.224e-05/0.001872, allocations: 43.91 kB / 382.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.001922, allocations: 7.984 kB / 382.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.088e-05/0.001983, allocations: 35.89 kB / 382.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.327e-05/0.002046, allocations: 27.89 kB / 382.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.002069, allocations: 4 kB / 382.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.028e-05/0.002079, allocations: 4 kB / 382.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.002096, allocations: 3.984 kB / 382.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.002122, allocations: 23.91 kB / 382.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 8.065e-05/0.002202, allocations: 31.83 kB / 382.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.002206, allocations: 0 / 382.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.002208, allocations: 4 kB / 382.6 MB, free: 15.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.002212, allocations: 0 / 382.6 MB, free: 15.28 MB / 362.7 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.0004082/0.00262, allocations: 306.1 kB / 382.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.002661, allocations: 12.03 kB / 382.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.002693, allocations: 34.75 kB / 383 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.002719, allocations: 8.891 kB / 383 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.425e-05/0.002813, allocations: 117.7 kB / 383.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.002825, allocations: 4.375 kB / 383.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.00285, allocations: 16.33 kB / 383.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.002961, allocations: 70.23 kB / 383.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.002968, allocations: 192 / 383.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.002978, allocations: 4.375 kB / 383.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.002984, allocations: 8.125 kB / 383.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.003049, allocations: 39.91 kB / 383.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.003444, allocations: 264 kB / 383.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.003665, allocations: 110.7 kB / 383.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.395e-05/0.003709, allocations: 32.86 kB / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.003723, allocations: 8 kB / 383.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.003742, allocations: 38.48 kB / 383.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.003743, allocations: 0 / 383.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001527/0.00527, allocations: 0.7084 MB / 384.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.005301, allocations: 55.41 kB / 384.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.009e-05/0.005371, allocations: 113.8 kB / 384.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.005385, allocations: 25.7 kB / 384.6 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.742e-05/0.005433, allocations: 96.39 kB / 384.7 MB, free: 13.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.005467, allocations: 63.44 kB / 384.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.38e-05/0.00551, allocations: 41.64 kB / 384.8 MB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.005656, allocations: 322.8 kB / 385.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.00571, allocations: 43.97 kB / 385.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.569e-05/0.005775, allocations: 64.7 kB / 385.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/0.007073, allocations: 0.4909 MB / 385.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.007077, allocations: 7.938 kB / 385.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007585/0.007836, allocations: 365.9 kB / 386 MB, free: 11.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.007855, allocations: 6.812 kB / 386.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.007862, allocations: 0 / 386.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008177/0.00868, allocations: 289.8 kB / 386.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.008724, allocations: 12 kB / 386.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/0.01129, allocations: 2.248 MB / 388.6 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.319e-05/0.01134, allocations: 4 kB / 388.6 MB, free: 8.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.01134, allocations: 4 kB / 388.6 MB, free: 8.941 MB / 362.7 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.0002497/0.01159, allocations: 129.8 kB / 388.7 MB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.01162, allocations: 11.89 kB / 388.7 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.01166, allocations: 16.78 kB / 388.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01166, allocations: 0 / 388.8 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.01167, allocations: 4 kB / 388.8 MB, free: 8.773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01168, allocations: 4.031 kB / 388.8 MB, free: 8.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008802/0.01256, allocations: 0.5262 MB / 389.3 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.01256, allocations: 0 / 389.3 MB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.317e-05/0.01261, allocations: 15.98 kB / 389.3 MB, free: 8.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008885/0.0135, allocations: 284.5 kB / 389.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.01351, allocations: 3.938 kB / 389.6 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001988/0.0155, allocations: 1.868 MB / 391.5 MB, free: 5.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.0155, allocations: 4 kB / 391.5 MB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00058/0.01608, allocations: 432.6 kB / 391.9 MB, free: 5.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.31e-05/0.01609, allocations: 12.05 kB / 391.9 MB, free: 5.445 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.01611, allocations: 8 kB / 391.9 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.974e-05/0.01617, allocations: 4 kB / 391.9 MB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.01621, allocations: 15.97 kB / 391.9 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.926e-06/0.01622, allocations: 0 / 391.9 MB, free: 5.418 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.309e-05/0.01626, allocations: 99.23 kB / 392 MB, free: 5.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01626, allocations: 0 / 392 MB, free: 5.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.01656, allocations: 40 kB / 392.1 MB, free: 5.281 MB / 362.7 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.0008137/0.01737, allocations: 0.947 MB / 393 MB, free: 4.301 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004861/0.01786, allocations: 318.5 kB / 393.3 MB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01786, allocations: 0 / 393.3 MB, free: 3.977 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.01815, allocations: 255.6 kB / 393.6 MB, free: 3.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001718/0.01832, allocations: 7.312 kB / 393.6 MB, free: 3.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.02076, allocations: 2.135 MB / 395.7 MB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.964e-05/0.02083, allocations: 87.91 kB / 395.8 MB, free: 1.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.27e-05/0.02086, allocations: 4.984 kB / 395.8 MB, free: 1.363 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.02091, allocations: 24.5 kB / 395.8 MB, free: 1.34 MB / 362.7 MB Notification: Performance of SimCode: time 2.034e-06/0.02091, allocations: 0 / 395.8 MB, free: 1.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.04157, allocations: 4.624 MB / 400.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.456/8.497, allocations: 12.22 kB / 400.5 MB, free: 12.94 MB / 378.7 MB " [Timeout remaining time 651] (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: 10.433663845993578] Failed to read output from testmodel.py, exit status != 0: 8.588408857584 8.596425076 8.592385322 Calling exit ...