Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.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.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial",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.008485/0.008485, allocations: 102 kB / 15.73 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 194.3 kB / 16.67 MB, free: 5.93 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.479/1.479, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.002987/0.002987, allocations: 0.567 MB / 291.1 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 71.89 kB / 401.9 MB, free: 32.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.119, allocations: 49.59 MB / 451.5 MB, free: 15 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001936/0.121, allocations: 0.5737 MB / 452.1 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002571/0.1213, allocations: 51.8 kB / 452.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.716e-05/0.1214, allocations: 4 kB / 452.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.1214, allocations: 3.938 kB / 452.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.1215, allocations: 3.938 kB / 452.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001087/0.1216, allocations: 15.91 kB / 452.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.849e-05/0.1217, allocations: 51.83 kB / 452.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.777e-05/0.1218, allocations: 352 / 452.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.761e-05/0.1218, allocations: 27.92 kB / 452.3 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.1219, allocations: 23.91 kB / 452.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.122, allocations: 4 kB / 452.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/0.122, allocations: 7.938 kB / 452.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.122, allocations: 11.98 kB / 452.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.849e-05/0.122, allocations: 23.84 kB / 452.3 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.601e-05/0.1221, allocations: 36.05 kB / 452.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1222, allocations: 0 / 452.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1222, allocations: 0 / 452.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.1222, allocations: 0 / 452.4 MB, free: 14.17 MB / 334.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.0006451/0.1228, allocations: 375.3 kB / 452.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.1229, allocations: 8.031 kB / 452.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.473e-05/0.123, allocations: 42.69 kB / 452.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.96e-05/0.123, allocations: 8.891 kB / 452.8 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1232, allocations: 172.3 kB / 453 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1233, allocations: 8.375 kB / 453 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.1233, allocations: 8.375 kB / 453 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.1235, allocations: 70.23 kB / 453 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.1235, allocations: 3.938 kB / 453 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.1235, allocations: 0 / 453 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1235, allocations: 4 kB / 453 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-05/0.1236, allocations: 39.91 kB / 453.1 MB, free: 13.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.1241, allocations: 312.8 kB / 453.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.1244, allocations: 110.5 kB / 453.5 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.267e-05/0.1245, allocations: 33.08 kB / 453.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1245, allocations: 3.938 kB / 453.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1245, allocations: 30.56 kB / 453.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.1245, allocations: 0 / 453.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003232/0.1278, allocations: 0.8577 MB / 454.4 MB, free: 11.88 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.512e-05/0.1279, allocations: 59.39 kB / 454.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.858e-05/0.1279, allocations: 101.9 kB / 454.6 MB, free: 11.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.128, allocations: 33.64 kB / 454.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.225e-05/0.1281, allocations: 96.08 kB / 454.7 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.1281, allocations: 47.53 kB / 454.8 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.1282, allocations: 45.66 kB / 454.8 MB, free: 11.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1283, allocations: 326.8 kB / 455.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-05/0.1284, allocations: 35.98 kB / 455.2 MB, free: 11.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.1285, allocations: 61.64 kB / 455.2 MB, free: 11.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.1287, allocations: 108.5 kB / 455.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1287, allocations: 0 / 455.3 MB, free: 10.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0009188/0.1296, allocations: 266.1 kB / 455.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1296, allocations: 4 kB / 455.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1296, allocations: 0 / 455.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000901/0.1305, allocations: 156.7 kB / 455.7 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.082e-05/0.1306, allocations: 23.98 kB / 455.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/0.1331, allocations: 1.937 MB / 457.7 MB, free: 8.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.253e-05/0.1332, allocations: 3.938 kB / 457.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.1332, allocations: 4 kB / 457.7 MB, free: 8.387 MB / 334.1 MB 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 (12): * Single equations (assignments): 11 * 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 prepare postOptimizeDAE: time 0.0001372/0.1333, allocations: 126.5 kB / 457.8 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.1334, allocations: 7.953 kB / 457.8 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.1334, allocations: 20.5 kB / 457.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1334, allocations: 0 / 457.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.1334, allocations: 4 kB / 457.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1334, allocations: 0 / 457.9 MB, free: 8.219 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.1337, allocations: 201.6 kB / 458.1 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1337, allocations: 0 / 458.1 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.93e-05/0.1337, allocations: 8 kB / 458.1 MB, free: 7.965 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001704/0.1354, allocations: 285 kB / 458.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.1355, allocations: 4 kB / 458.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.1377, allocations: 1.939 MB / 460.3 MB, free: 5.605 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1377, allocations: 4 kB / 460.3 MB, free: 5.602 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.1387, allocations: 408.1 kB / 460.7 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.1388, allocations: 85.09 kB / 460.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.1388, allocations: 11.94 kB / 460.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.1389, allocations: 0 / 460.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.139, allocations: 15.98 kB / 460.8 MB, free: 5.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.139, allocations: 7.984 kB / 460.8 MB, free: 5.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.757e-05/0.139, allocations: 87.28 kB / 460.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.139, allocations: 0 / 460.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000326/0.1394, allocations: 28 kB / 460.9 MB, free: 4.934 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.001254/0.1406, allocations: 0.9432 MB / 461.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005248/0.1412, allocations: 279 kB / 462.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1412, allocations: 0 / 462.1 MB, free: 3.68 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003057/0.1415, allocations: 222.5 kB / 462.4 MB, free: 3.449 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.1417, allocations: 11.94 kB / 462.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002911/0.1447, allocations: 1.908 MB / 464.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002636/0.1449, allocations: 0.7006 MB / 465 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.012e-05/0.145, allocations: 4.562 kB / 465 MB, free: 0.707 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.145, allocations: 19.42 kB / 465 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of SimCode: time 1.933e-06/0.145, allocations: 8 kB / 465 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03227/0.1773, allocations: 3.118 MB / 468.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.55/9.728, allocations: 8.812 kB / 468.1 MB, free: 13.79 MB / 350.1 MB (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.sim & python3 -m fmpy simulate --output-file ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial_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_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)