Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.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.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial",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.001538/0.001538, allocations: 108 kB / 15.61 MB, free: 148 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.001797/0.001797, allocations: 195.1 kB / 16.53 MB, free: 6.656 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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.002558/0.002558, allocations: 0.5624 MB / 291 MB, free: 1.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001403, allocations: 63.89 kB / 351.7 MB, free: 2.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.09923, allocations: 49.59 MB / 401.3 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.1553/0.2546, allocations: 0.57 MB / 401.8 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002544/0.2549, allocations: 38.55 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.572e-05/0.2549, allocations: 0 / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.255, allocations: 5.625 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.2551, allocations: 10.91 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.718e-05/0.2552, allocations: 13.62 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.342e-05/0.2552, allocations: 49.56 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.506e-05/0.2553, allocations: 4.547 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.394e-05/0.2553, allocations: 22.28 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.2554, allocations: 30.39 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2554, allocations: 3.656 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.436e-05/0.2555, allocations: 3.562 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.05e-05/0.2555, allocations: 13.88 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.2555, allocations: 27.23 kB / 402 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 7.304e-05/0.2556, allocations: 30.36 kB / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2556, allocations: 1.125 kB / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2556, allocations: 0.9375 kB / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2556, allocations: 3.938 kB / 402.1 MB, free: 10.33 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.0004414/0.2561, allocations: 376.8 kB / 402.4 MB, free: 9.969 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2561, allocations: 9.562 kB / 402.5 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.2561, allocations: 37.77 kB / 402.5 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.821e-05/0.2562, allocations: 9.156 kB / 402.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.2563, allocations: 178.2 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.2563, allocations: 6.812 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.2563, allocations: 9.234 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.2565, allocations: 68.38 kB / 402.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.2565, allocations: 8.484 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2565, allocations: 7.969 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2565, allocations: 2.094 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.2566, allocations: 36.11 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.257, allocations: 310.8 kB / 403.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.2573, allocations: 120.8 kB / 403.2 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.206e-05/0.2574, allocations: 38.3 kB / 403.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.2574, allocations: 1.75 kB / 403.3 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.32e-05/0.2574, allocations: 35.98 kB / 403.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.2574, allocations: 1.469 kB / 403.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003542/0.261, allocations: 0.9279 MB / 404.2 MB, free: 9.016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.261, allocations: 54.72 kB / 404.3 MB, free: 8.953 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.129e-05/0.2611, allocations: 110.9 kB / 404.4 MB, free: 8.852 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.2611, allocations: 33.02 kB / 404.4 MB, free: 8.816 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.841e-05/0.2612, allocations: 87.27 kB / 404.5 MB, free: 8.734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.831e-05/0.2612, allocations: 61.16 kB / 404.6 MB, free: 8.695 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.2613, allocations: 37.81 kB / 404.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 5.359e-05/0.2613, allocations: 319.4 kB / 404.9 MB, free: 8.367 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.2614, allocations: 42.45 kB / 405 MB, free: 8.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.2615, allocations: 61.59 kB / 405 MB, free: 8.352 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002735/0.2643, allocations: 0.5731 MB / 405.6 MB, free: 8.215 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.2643, allocations: 0 / 405.6 MB, free: 8.215 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000961/0.2652, allocations: 280.5 kB / 405.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.2653, allocations: 5.594 kB / 405.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2653, allocations: 0 / 405.9 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009492/0.2662, allocations: 169.2 kB / 406 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.547e-05/0.2663, allocations: 17.06 kB / 406.1 MB, free: 8.102 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.2687, allocations: 1.98 MB / 408 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.6e-05/0.2688, allocations: 7.094 kB / 408 MB, free: 6.375 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.2688, allocations: 3.406 kB / 408.1 MB, free: 6.375 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: p1 = 100000.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 (13): * Single equations (assignments): 12 * 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 prepare postOptimizeDAE: time 0.0001864/0.269, allocations: 124.5 kB / 408.2 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.2691, allocations: 8.281 kB / 408.2 MB, free: 6.246 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.2691, allocations: 19.22 kB / 408.2 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2691, allocations: 5.469 kB / 408.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.2691, allocations: 6.078 kB / 408.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2691, allocations: 0.8438 kB / 408.2 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.2704, allocations: 0.5672 MB / 408.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2704, allocations: 0 / 408.8 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.2705, allocations: 15.81 kB / 408.8 MB, free: 5.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001975/0.2725, allocations: 287.7 kB / 409.1 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.2725, allocations: 7.266 kB / 409.1 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.2747, allocations: 1.985 MB / 411.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2748, allocations: 0 / 411.1 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.2758, allocations: 432.9 kB / 411.5 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.19e-05/0.2758, allocations: 84.89 kB / 411.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.2759, allocations: 1.938 kB / 411.6 MB, free: 3.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.276, allocations: 9.641 kB / 411.6 MB, free: 3.723 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.276, allocations: 20.23 kB / 411.6 MB, free: 3.715 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.2761, allocations: 9.516 kB / 411.6 MB, free: 3.711 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.582e-05/0.2761, allocations: 88.02 kB / 411.7 MB, free: 3.633 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2761, allocations: 0 / 411.7 MB, free: 3.633 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003641/0.2765, allocations: 34.16 kB / 411.7 MB, free: 3.625 MB / 286.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.001197/0.2777, allocations: 0.9592 MB / 412.7 MB, free: 2.852 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007669/0.2785, allocations: 327.7 kB / 413 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2785, allocations: 0 / 413 MB, free: 2.664 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005473/0.279, allocations: 256.4 kB / 413.3 MB, free: 2.504 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.2793, allocations: 10.69 kB / 413.3 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002805/0.2821, allocations: 1.95 MB / 415.2 MB, free: 1.012 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.2822, allocations: 0.7052 MB / 415.9 MB, free: 320 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.085e-05/0.2823, allocations: 5.688 kB / 415.9 MB, free: 320 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.617e-05/0.2823, allocations: 26.31 kB / 416 MB, free: 300 kB / 286.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2823, allocations: 0 / 416 MB, free: 300 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02248/0.3048, allocations: 3.073 MB / 419 MB, free: 15.89 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.898/9.203, allocations: 19.38 kB / 419.1 MB, free: 15.88 MB / 302.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial_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_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)