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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 193.6 kB / 16.53 MB, free: 6.391 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.41 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.00279/0.00279, allocations: 0.5624 MB / 291 MB, free: 1.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.89 kB / 351.7 MB, free: 2.227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08114/0.08239, allocations: 49.59 MB / 401.2 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001793/0.08422, allocations: 0.573 MB / 401.8 MB, free: 16 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1403/0.2245, allocations: 48.58 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.2246, allocations: 0 / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.46e-05/0.2246, allocations: 3.188 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.928e-05/0.2247, allocations: 6.328 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001244/0.2249, allocations: 17.88 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.225, allocations: 49.72 kB / 401.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.225, allocations: 8.109 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.89e-05/0.2251, allocations: 21.5 kB / 402 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.319e-05/0.2252, allocations: 29.61 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.2252, allocations: 3.969 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.547e-05/0.2252, allocations: 3.344 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.345e-05/0.2253, allocations: 12.44 kB / 402 MB, free: 10.32 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.2253, allocations: 28.59 kB / 402 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.013e-05/0.2254, allocations: 34.19 kB / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2254, allocations: 0 / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2254, allocations: 0.75 kB / 402.1 MB, free: 10.31 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.2254, allocations: 0 / 402.1 MB, free: 10.31 MB / 286.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.0004513/0.2259, allocations: 375.5 kB / 402.4 MB, free: 9.949 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.2259, allocations: 13.08 kB / 402.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.745e-05/0.226, allocations: 37.59 kB / 402.5 MB, free: 9.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.226, allocations: 11.7 kB / 402.5 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.212e-05/0.2261, allocations: 177.9 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.2261, allocations: 2.375 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.2262, allocations: 9.938 kB / 402.7 MB, free: 9.699 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.2263, allocations: 71.17 kB / 402.8 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2263, allocations: 7.438 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2263, allocations: 0.5938 kB / 402.8 MB, free: 9.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.2263, allocations: 10.12 kB / 402.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.451e-05/0.2264, allocations: 38 kB / 402.8 MB, free: 9.652 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.2269, allocations: 305.1 kB / 403.1 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/0.2272, allocations: 106.5 kB / 403.2 MB, free: 9.359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.658e-05/0.2272, allocations: 33.22 kB / 403.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.2272, allocations: 3.531 kB / 403.3 MB, free: 9.352 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.2273, allocations: 40.3 kB / 403.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.322e-06/0.2273, allocations: 0.6562 kB / 403.3 MB, free: 9.309 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003305/0.2306, allocations: 0.8496 MB / 404.1 MB, free: 9.008 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.2306, allocations: 57.7 kB / 404.2 MB, free: 8.941 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.546e-05/0.2307, allocations: 110.2 kB / 404.3 MB, free: 8.844 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.2307, allocations: 28.7 kB / 404.3 MB, free: 8.812 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.127e-05/0.2307, allocations: 95.06 kB / 404.4 MB, free: 8.723 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.2308, allocations: 54.92 kB / 404.5 MB, free: 8.688 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.2308, allocations: 32.94 kB / 404.5 MB, free: 8.672 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.214e-05/0.2309, allocations: 324.1 kB / 404.8 MB, free: 8.355 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.231, allocations: 39.16 kB / 404.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.199e-05/0.2311, allocations: 68.66 kB / 404.9 MB, free: 8.332 MB / 286.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.002584/0.2336, allocations: 475.8 kB / 405.4 MB, free: 8.305 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.2337, allocations: 4 kB / 405.4 MB, free: 8.301 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00148/0.2351, allocations: 333.9 kB / 405.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.2352, allocations: 5.312 kB / 405.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2352, allocations: 1.156 kB / 405.7 MB, free: 8.234 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.237, allocations: 267 kB / 406 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.421e-05/0.2371, allocations: 16.81 kB / 406 MB, free: 8.211 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003039/0.2401, allocations: 1.938 MB / 408 MB, free: 6.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/0.2402, allocations: 9.219 kB / 408 MB, free: 6.605 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.2403, allocations: 4.219 kB / 408 MB, free: 6.605 MB / 286.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.0001528/0.2404, allocations: 118.9 kB / 408.1 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.2405, allocations: 15.61 kB / 408.1 MB, free: 6.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.2405, allocations: 30.84 kB / 408.1 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2405, allocations: 1.75 kB / 408.1 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2405, allocations: 1.656 kB / 408.1 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2405, allocations: 1.406 kB / 408.1 MB, free: 6.457 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.2407, allocations: 206.5 kB / 408.3 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.2407, allocations: 0 / 408.3 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.2408, allocations: 10.97 kB / 408.3 MB, free: 6.242 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001893/0.2427, allocations: 281.1 kB / 408.6 MB, free: 6.207 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.2427, allocations: 6.469 kB / 408.6 MB, free: 6.203 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001912/0.2446, allocations: 1.934 MB / 410.6 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.2447, allocations: 1.156 kB / 410.6 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.2457, allocations: 404.4 kB / 411 MB, free: 4.277 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.168e-05/0.2457, allocations: 80 kB / 411 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.2458, allocations: 5.562 kB / 411 MB, free: 4.18 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2459, allocations: 5.922 kB / 411 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.664e-05/0.2459, allocations: 11.2 kB / 411.1 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.246, allocations: 12.95 kB / 411.1 MB, free: 4.168 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.769e-05/0.246, allocations: 83.56 kB / 411.2 MB, free: 4.094 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.246, allocations: 0 / 411.2 MB, free: 4.094 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003546/0.2464, allocations: 36.38 kB / 411.2 MB, free: 4.086 MB / 286.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.00121/0.2476, allocations: 0.9348 MB / 412.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008167/0.2484, allocations: 342.3 kB / 412.5 MB, free: 3.137 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2484, allocations: 0 / 412.5 MB, free: 3.137 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003053/0.2487, allocations: 226.6 kB / 412.7 MB, free: 2.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.249, allocations: 9.547 kB / 412.7 MB, free: 2.977 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.2529, allocations: 2.022 MB / 414.7 MB, free: 1.508 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/0.253, allocations: 0.7041 MB / 415.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.095e-05/0.2531, allocations: 6.625 kB / 415.4 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.2531, allocations: 24.17 kB / 415.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2531, allocations: 0 / 415.4 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0298/0.283, allocations: 3.708 MB / 419.2 MB, free: 304 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.41, allocations: 11.41 kB / 419.2 MB, free: 292 kB / 286.1 MB (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)