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.001152/0.001152, 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.00137/0.00137, allocations: 194.2 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.327/1.327, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.002614/0.002614, allocations: 0.5507 MB / 290.9 MB, free: 1.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 351.7 MB, free: 2.219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08501/0.08628, allocations: 49.59 MB / 401.3 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.001681/0.08799, allocations: 0.5729 MB / 401.8 MB, free: 16 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.1422/0.2302, allocations: 45.73 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.975e-05/0.2302, allocations: 0 / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.703e-05/0.2303, allocations: 7.375 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.609e-05/0.2304, allocations: 2.297 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.821e-05/0.2305, allocations: 18.7 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.2305, allocations: 48.23 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.2306, allocations: 3.656 kB / 401.9 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.2306, allocations: 26.7 kB / 402 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.2307, allocations: 32.77 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2307, allocations: 3.344 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.2307, allocations: 3.594 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.9e-05/0.2308, allocations: 9.703 kB / 402 MB, free: 10.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.583e-05/0.2308, allocations: 28.89 kB / 402.1 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.734e-05/0.2309, allocations: 32.2 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2309, allocations: 1.25 kB / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2309, allocations: 0 / 402.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.2309, allocations: 3.094 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.0004117/0.2313, allocations: 371.6 kB / 402.4 MB, free: 9.973 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.2314, allocations: 13.73 kB / 402.5 MB, free: 9.969 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.982e-05/0.2314, allocations: 39.06 kB / 402.5 MB, free: 9.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.2314, allocations: 8.062 kB / 402.5 MB, free: 9.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.132e-05/0.2315, allocations: 177.8 kB / 402.7 MB, free: 9.723 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2315, allocations: 10.59 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.2316, allocations: 9.438 kB / 402.7 MB, free: 9.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.2317, allocations: 69.53 kB / 402.8 MB, free: 9.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2317, allocations: 7.875 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.2317, allocations: 6.75 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2317, allocations: 1.875 kB / 402.8 MB, free: 9.676 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.2318, allocations: 42 kB / 402.8 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.2322, allocations: 299.4 kB / 403.1 MB, free: 9.406 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/0.2325, allocations: 128.4 kB / 403.2 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.004e-05/0.2325, allocations: 40.19 kB / 403.3 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.2326, allocations: 3.531 kB / 403.3 MB, free: 9.363 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.425e-05/0.2326, allocations: 33.06 kB / 403.3 MB, free: 9.324 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2326, allocations: 4 kB / 403.3 MB, free: 9.32 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.002555/0.2351, allocations: 0.7853 MB / 404.1 MB, free: 9.023 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.901e-05/0.2352, allocations: 56.16 kB / 404.2 MB, free: 8.961 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.2352, allocations: 112.3 kB / 404.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.195e-05/0.2353, allocations: 28.89 kB / 404.3 MB, free: 8.828 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.2353, allocations: 94.44 kB / 404.4 MB, free: 8.738 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.2353, allocations: 62.5 kB / 404.5 MB, free: 8.699 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.2354, allocations: 38.64 kB / 404.5 MB, free: 8.684 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 3.717e-05/0.2354, allocations: 319.3 kB / 404.8 MB, free: 8.371 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.222e-05/0.2355, allocations: 40.55 kB / 404.8 MB, free: 8.371 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-05/0.2356, allocations: 64.84 kB / 404.9 MB, free: 8.355 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/0.2382, allocations: 0.569 MB / 405.5 MB, free: 8.223 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.2382, allocations: 0 / 405.5 MB, free: 8.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001574/0.2398, allocations: 380.3 kB / 405.8 MB, free: 8.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2398, allocations: 7.156 kB / 405.9 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.2399, allocations: 0.8438 kB / 405.9 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001796/0.2417, allocations: 284.2 kB / 406.1 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.984e-05/0.2417, allocations: 11.56 kB / 406.1 MB, free: 8.094 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003376/0.2451, allocations: 2.369 MB / 408.5 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.347e-05/0.2452, allocations: 6.625 kB / 408.5 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.2452, allocations: 3.875 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.0001356/0.2454, allocations: 134.6 kB / 408.7 MB, free: 6.086 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.2454, allocations: 7.844 kB / 408.7 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.2454, allocations: 20.27 kB / 408.7 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.2454, allocations: 5.875 kB / 408.7 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.2455, allocations: 0 / 408.7 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2455, allocations: 2.906 kB / 408.7 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/0.2467, allocations: 0.5725 MB / 409.3 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2467, allocations: 0 / 409.3 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.428e-05/0.2467, allocations: 12.19 kB / 409.3 MB, free: 5.66 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/0.2487, allocations: 287.6 kB / 409.6 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2487, allocations: 2.781 kB / 409.6 MB, free: 5.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002077/0.2508, allocations: 1.983 MB / 411.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2508, allocations: 1.438 kB / 411.5 MB, free: 3.91 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009846/0.2518, allocations: 437.1 kB / 412 MB, free: 3.668 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.2518, allocations: 84.42 kB / 412.1 MB, free: 3.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.756e-05/0.2518, allocations: 5.891 kB / 412.1 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.252, allocations: 9.438 kB / 412.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.252, allocations: 13.02 kB / 412.1 MB, free: 3.559 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.252, allocations: 13.61 kB / 412.1 MB, free: 3.551 MB / 286.1 MB Notification: Performance of sorting global known variables: time 2.858e-05/0.2521, allocations: 83.88 kB / 412.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2521, allocations: 0 / 412.2 MB, free: 3.477 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.2524, allocations: 39.62 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.001161/0.2536, allocations: 0.9684 MB / 413.2 MB, free: 2.691 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006491/0.2543, allocations: 324.1 kB / 413.5 MB, free: 2.5 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2543, allocations: 5.406 kB / 413.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.2548, allocations: 249 kB / 413.7 MB, free: 2.34 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.2551, allocations: 15.44 kB / 413.8 MB, free: 2.328 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004014/0.2591, allocations: 2.136 MB / 415.9 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.2592, allocations: 0.7044 MB / 416.6 MB, free: 112 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.528e-05/0.2593, allocations: 5.109 kB / 416.6 MB, free: 112 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.2593, allocations: 20.98 kB / 416.6 MB, free: 96 kB / 286.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2593, allocations: 0 / 416.6 MB, free: 96 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02497/0.2843, allocations: 3.963 MB / 420.6 MB, free: 15.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.3, allocations: 4.125 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)