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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00198/0.001981, allocations: 108 kB / 15.61 MB, free: 152 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.001997/0.001997, allocations: 197.4 kB / 16.53 MB, free: 6.664 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.527/1.527, 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.002927/0.002927, allocations: 0.5701 MB / 291 MB, free: 1.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 67.89 kB / 351.7 MB, free: 2.242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1025, allocations: 49.59 MB / 401.2 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001948/0.1045, allocations: 0.5753 MB / 401.8 MB, free: 36 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1595/0.264, allocations: 47.91 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.046e-05/0.2641, allocations: 0 / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.2642, allocations: 3.094 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.2643, allocations: 6.875 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.2644, allocations: 18.45 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.2645, allocations: 47.03 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.435e-05/0.2646, allocations: 4.422 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.2646, allocations: 24.48 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.948e-05/0.2647, allocations: 33.11 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.2647, allocations: 7.812 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.648e-05/0.2647, allocations: 3.594 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.2648, allocations: 12.59 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.2648, allocations: 28.72 kB / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.818e-05/0.2649, allocations: 28.42 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2649, allocations: 0.9688 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2649, allocations: 0 / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.2649, allocations: 0 / 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.0004977/0.2654, allocations: 375.3 kB / 402.5 MB, free: 9.973 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2655, allocations: 13.48 kB / 402.5 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.2655, allocations: 37.78 kB / 402.5 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.561e-05/0.2656, allocations: 12.95 kB / 402.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2657, allocations: 175.8 kB / 402.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.2657, allocations: 6 kB / 402.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.2658, allocations: 13.12 kB / 402.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.2659, allocations: 70.09 kB / 402.8 MB, free: 9.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2659, allocations: 3.938 kB / 402.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.266, allocations: 8.125 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.266, allocations: 1.188 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.2661, allocations: 40.23 kB / 402.8 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.2665, allocations: 304.2 kB / 403.1 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.2669, allocations: 124.2 kB / 403.2 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.203e-05/0.267, allocations: 40.56 kB / 403.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.267, allocations: 0.7188 kB / 403.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.267, allocations: 32.7 kB / 403.3 MB, free: 9.332 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.267, allocations: 0 / 403.3 MB, free: 9.332 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.002881/0.2699, allocations: 0.7961 MB / 404.1 MB, free: 9.027 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.27, allocations: 54.34 kB / 404.2 MB, free: 8.965 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.944e-05/0.27, allocations: 114.5 kB / 404.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.2701, allocations: 30.36 kB / 404.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.904e-05/0.2701, allocations: 86.5 kB / 404.4 MB, free: 8.746 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.2702, allocations: 62.39 kB / 404.5 MB, free: 8.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.2702, allocations: 37.59 kB / 404.5 MB, free: 8.688 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.2703, allocations: 320.1 kB / 404.8 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.106e-05/0.2704, allocations: 41.67 kB / 404.8 MB, free: 8.375 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.2705, allocations: 64.19 kB / 404.9 MB, free: 8.359 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00268/0.2732, allocations: 0.5656 MB / 405.5 MB, free: 8.23 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.2732, allocations: 0 / 405.5 MB, free: 8.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00159/0.2748, allocations: 374.7 kB / 405.8 MB, free: 8.141 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2748, allocations: 8.438 kB / 405.8 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2748, allocations: 1.125 kB / 405.8 MB, free: 8.137 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/0.2766, allocations: 291.7 kB / 406.1 MB, free: 8.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.679e-05/0.2767, allocations: 14.78 kB / 406.1 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003565/0.2802, allocations: 2.372 MB / 408.5 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.922e-05/0.2803, allocations: 6.047 kB / 408.5 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.2804, allocations: 4.469 kB / 408.5 MB, free: 6.223 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.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.0001606/0.2805, allocations: 123.2 kB / 408.6 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.615e-05/0.2806, allocations: 12.7 kB / 408.7 MB, free: 6.09 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.2806, allocations: 22.67 kB / 408.7 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2806, allocations: 2.266 kB / 408.7 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.2806, allocations: 3.375 kB / 408.7 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2807, allocations: 0.8906 kB / 408.7 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.2819, allocations: 0.5707 MB / 409.3 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.2819, allocations: 0.7031 kB / 409.3 MB, free: 5.664 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.282, allocations: 16.22 kB / 409.3 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001959/0.2839, allocations: 287 kB / 409.6 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.2839, allocations: 7.422 kB / 409.6 MB, free: 5.621 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002212/0.2862, allocations: 1.982 MB / 411.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2862, allocations: 1.156 kB / 411.5 MB, free: 3.906 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.2872, allocations: 427.7 kB / 412 MB, free: 3.672 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.2872, allocations: 84.34 kB / 412 MB, free: 3.574 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.2873, allocations: 5.844 kB / 412.1 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.2874, allocations: 5.984 kB / 412.1 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.872e-05/0.2874, allocations: 20.14 kB / 412.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.2875, allocations: 9.047 kB / 412.1 MB, free: 3.555 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.284e-05/0.2875, allocations: 90.48 kB / 412.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2875, allocations: 0 / 412.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.2879, allocations: 39.22 kB / 412.2 MB, free: 3.469 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.001295/0.2892, allocations: 0.9657 MB / 413.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007219/0.2899, allocations: 317.2 kB / 413.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.2899, allocations: 0 / 413.5 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005711/0.2905, allocations: 258 kB / 413.7 MB, free: 2.344 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.2908, allocations: 10.92 kB / 413.8 MB, free: 2.336 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004151/0.2949, allocations: 2.141 MB / 415.9 MB, free: 0.8125 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.2951, allocations: 0.7055 MB / 416.6 MB, free: 120 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.058e-05/0.2951, allocations: 6.984 kB / 416.6 MB, free: 120 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.419e-05/0.2952, allocations: 23.97 kB / 416.6 MB, free: 100 kB / 286.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2952, allocations: 1.375 kB / 416.6 MB, free: 100 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03193/0.3271, allocations: 3.964 MB / 420.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.8/12.12, allocations: 4.219 kB / 420.6 MB, free: 15.37 MB / 302.1 MB (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)