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.0008914/0.0008914, 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.001083/0.001083, 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.9094/0.9094, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.001977/0.001977, allocations: 408.3 kB / 259.6 MB, free: 12.82 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.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 1.924e-06/1.924e-06, allocations: 0 / 381.8 MB, free: 14.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.523e-05, allocations: 2.281 kB / 381.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001015/0.00103, allocations: 0.5765 MB / 382.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000171/0.001201, allocations: 39.81 kB / 382.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.883e-05/0.00123, allocations: 0 / 382.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 1.704e-05/0.001247, allocations: 3.938 kB / 382.4 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.001317, allocations: 7.922 kB / 382.4 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.46e-05/0.001402, allocations: 15.97 kB / 382.4 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 7.169e-05/0.001473, allocations: 47.83 kB / 382.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.001517, allocations: 7.984 kB / 382.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.941e-05/0.001566, allocations: 31.91 kB / 382.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.001632, allocations: 27.89 kB / 382.5 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.001656, allocations: 8 kB / 382.5 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-06/0.001665, allocations: 4 kB / 382.6 MB, free: 14.13 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 1.94e-05/0.001685, allocations: 11.97 kB / 382.6 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.514e-05/0.00171, allocations: 19.92 kB / 382.6 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 7.716e-05/0.001787, allocations: 35.81 kB / 382.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.001789, allocations: 0 / 382.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.001789, allocations: 4 kB / 382.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.001793, allocations: 0 / 382.6 MB, free: 14.06 MB / 314.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.0004032/0.002197, allocations: 302.2 kB / 382.9 MB, free: 13.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.002239, allocations: 12.03 kB / 382.9 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.963e-05/0.002269, allocations: 30.75 kB / 383 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.002295, allocations: 12.89 kB / 383 MB, free: 13.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.002396, allocations: 113.7 kB / 383.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.002408, allocations: 4.375 kB / 383.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.002432, allocations: 8.375 kB / 383.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.00255, allocations: 70.17 kB / 383.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.002558, allocations: 192 / 383.2 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.002567, allocations: 4.359 kB / 383.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.002574, allocations: 12.12 kB / 383.2 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.684e-05/0.002641, allocations: 39.97 kB / 383.2 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.003055, allocations: 267.9 kB / 383.5 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.003258, allocations: 106.5 kB / 383.6 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.003299, allocations: 32.84 kB / 383.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.003311, allocations: 11.88 kB / 383.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.003329, allocations: 30.56 kB / 383.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.00333, allocations: 0 / 383.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.001689/0.005019, allocations: 0.7683 MB / 384.4 MB, free: 12.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.005048, allocations: 51.41 kB / 384.5 MB, free: 12.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.384e-05/0.005112, allocations: 117.8 kB / 384.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.005124, allocations: 25.7 kB / 384.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.434e-05/0.005168, allocations: 96.03 kB / 384.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.005194, allocations: 55.53 kB / 384.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.005236, allocations: 37.7 kB / 384.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.547e-05/0.005311, allocations: 326.8 kB / 385.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.816e-05/0.005359, allocations: 35.98 kB / 385.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.576e-05/0.005425, allocations: 61.69 kB / 385.2 MB, free: 11.24 MB / 314.7 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.001125/0.00655, allocations: 480.3 kB / 385.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006552, allocations: 3.938 kB / 385.7 MB, free: 10.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006548/0.007207, allocations: 322.1 kB / 386 MB, free: 10.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.007221, allocations: 8 kB / 386 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.007227, allocations: 0 / 386 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007685/0.007995, allocations: 260.5 kB / 386.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.008043, allocations: 16 kB / 386.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.009863, allocations: 1.838 MB / 388.1 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.65e-05/0.009899, allocations: 8.062 kB / 388.1 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.009908, allocations: 4 kB / 388.1 MB, free: 8.195 MB / 314.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.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.0001275/0.01003, allocations: 117.8 kB / 388.2 MB, free: 8.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.01005, allocations: 11.95 kB / 388.3 MB, free: 8.059 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.01007, allocations: 20.38 kB / 388.3 MB, free: 8.039 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.01007, allocations: 3.984 kB / 388.3 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.83e-06/0.01008, allocations: 4 kB / 388.3 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.01008, allocations: 7.984 kB / 388.3 MB, free: 8.023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.01022, allocations: 156.7 kB / 388.4 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01022, allocations: 3.938 kB / 388.5 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.557e-05/0.01024, allocations: 12 kB / 388.5 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007866/0.01103, allocations: 268.5 kB / 388.7 MB, free: 7.547 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.01104, allocations: 15.92 kB / 388.7 MB, free: 7.531 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/0.01237, allocations: 1.817 MB / 390.6 MB, free: 5.598 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01237, allocations: 3.938 kB / 390.6 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.01291, allocations: 400 kB / 391 MB, free: 5.184 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-06/0.01292, allocations: 12.08 kB / 391 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.01293, allocations: 12.12 kB / 391 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.254e-05/0.01298, allocations: 0 / 391 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.01302, allocations: 19.91 kB / 391 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.01302, allocations: 4 kB / 391 MB, free: 5.137 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.213e-05/0.01305, allocations: 87.27 kB / 391.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01305, allocations: 0 / 391.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002188/0.01327, allocations: 36 kB / 391.1 MB, free: 5.016 MB / 314.7 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.0007137/0.01399, allocations: 0.9363 MB / 392.1 MB, free: 4.055 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004818/0.01447, allocations: 310.3 kB / 392.4 MB, free: 3.738 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01447, allocations: 0 / 392.4 MB, free: 3.738 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.01465, allocations: 225.4 kB / 392.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.0148, allocations: 15.95 kB / 392.6 MB, free: 3.492 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.01694, allocations: 2.037 MB / 394.6 MB, free: 1.363 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.389e-05/0.01699, allocations: 91.58 kB / 394.7 MB, free: 1.254 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.384e-05/0.01702, allocations: 8.344 kB / 394.7 MB, free: 1.246 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.407e-05/0.01706, allocations: 28.48 kB / 394.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01706, allocations: 3.938 kB / 394.8 MB, free: 1.215 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.03485, allocations: 4.456 MB / 399.2 MB, free: 12.97 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.37/8.405, allocations: 13.67 kB / 399.2 MB, free: 12.96 MB / 330.7 MB " [Timeout remaining time 652] (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: 10.380127834156156] Failed to read output from testmodel.py, exit status != 0: 8.493719666264951 8.664283649 8.50273912 Calling exit ...