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-master/package.mo", uses=false) Using package ModelicaTestOverdetermined with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/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.001005/0.001005, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001221/0.001221, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.552/1.552, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.002532/0.002532, allocations: 0.5469 MB / 291.6 MB, free: 1.66 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003744/0.0003747, allocations: 8 kB / 352.8 MB, free: 2.711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1269, allocations: 50.58 MB / 403.4 MB, free: 88 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.2365/0.3635, allocations: 292.9 kB / 403.6 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002222/0.3638, allocations: 44.84 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.3638, allocations: 1.062 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.3639, allocations: 4.781 kB / 403.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.547e-05/0.3639, allocations: 2.859 kB / 403.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.627e-05/0.364, allocations: 12.38 kB / 403.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.3642, allocations: 46.52 kB / 403.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.958e-05/0.3642, allocations: 3.969 kB / 403.8 MB, free: 9.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.309e-05/0.3643, allocations: 20.31 kB / 403.8 MB, free: 9.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.076e-05/0.3644, allocations: 27.47 kB / 403.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.3644, allocations: 3.562 kB / 403.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.3644, allocations: 3.469 kB / 403.8 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.382e-05/0.3644, allocations: 13.84 kB / 403.8 MB, free: 9.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.3645, allocations: 34.58 kB / 403.9 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.625e-05/0.3645, allocations: 14.33 kB / 403.9 MB, free: 9.781 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3646, allocations: 5.062 kB / 403.9 MB, free: 9.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3646, allocations: 0 / 403.9 MB, free: 9.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.3646, allocations: 0 / 403.9 MB, free: 9.777 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.0005049/0.3651, allocations: 363.5 kB / 404.2 MB, free: 9.422 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.3651, allocations: 10.5 kB / 404.2 MB, free: 9.422 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.3652, allocations: 41.25 kB / 404.3 MB, free: 9.379 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.323e-05/0.3652, allocations: 11.56 kB / 404.3 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.3654, allocations: 168.5 kB / 404.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.3654, allocations: 6.438 kB / 404.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.3654, allocations: 8.688 kB / 404.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3656, allocations: 73.23 kB / 404.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3656, allocations: 0 / 404.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.3656, allocations: 0.8125 kB / 404.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3656, allocations: 1.438 kB / 404.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.3658, allocations: 43.95 kB / 404.6 MB, free: 9.133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005423/0.3663, allocations: 317.2 kB / 404.9 MB, free: 8.859 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.3667, allocations: 126.6 kB / 405 MB, free: 8.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.363e-05/0.3668, allocations: 38.11 kB / 405.1 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.3668, allocations: 1.594 kB / 405.1 MB, free: 8.816 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.3668, allocations: 36.94 kB / 405.1 MB, free: 8.773 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 2.053e-06/0.3668, allocations: 0 / 405.1 MB, free: 8.773 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.003452/0.3703, allocations: 0.9404 MB / 406 MB, free: 8.465 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3703, allocations: 53.56 kB / 406.1 MB, free: 8.402 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.347e-05/0.3704, allocations: 105.4 kB / 406.2 MB, free: 8.305 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.3704, allocations: 35.12 kB / 406.2 MB, free: 8.27 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.726e-05/0.3705, allocations: 90.06 kB / 406.3 MB, free: 8.18 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.306e-05/0.3706, allocations: 61.19 kB / 406.4 MB, free: 8.141 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.057e-05/0.3706, allocations: 3 kB / 406.4 MB, free: 8.141 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.312e-05/0.3707, allocations: 325.1 kB / 406.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.3708, allocations: 41.42 kB / 406.7 MB, free: 7.824 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3709, allocations: 63.03 kB / 406.8 MB, free: 7.809 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002597/0.3735, allocations: 496.9 kB / 407.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3735, allocations: 1.062 kB / 407.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001024/0.3746, allocations: 279.4 kB / 407.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.3746, allocations: 4.531 kB / 407.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/0.3746, allocations: 1.281 kB / 407.6 MB, free: 7.633 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3758, allocations: 187.8 kB / 407.7 MB, free: 7.613 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.148e-05/0.3759, allocations: 21.78 kB / 407.8 MB, free: 7.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002725/0.3786, allocations: 1.811 MB / 409.6 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.3787, allocations: 12.06 kB / 409.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.3787, allocations: 5.094 kB / 409.6 MB, free: 6.227 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 sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001625/0.3789, allocations: 117.8 kB / 409.7 MB, free: 6.113 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.3789, allocations: 8.25 kB / 409.7 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.774e-05/0.379, allocations: 23.2 kB / 409.7 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.379, allocations: 1.969 kB / 409.7 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.379, allocations: 1.641 kB / 409.7 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.379, allocations: 5.469 kB / 409.7 MB, free: 6.094 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/0.3803, allocations: 0.5666 MB / 410.3 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.3803, allocations: 1.828 kB / 410.3 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.53e-05/0.3804, allocations: 11.84 kB / 410.3 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001987/0.3824, allocations: 314.8 kB / 410.6 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3824, allocations: 2.641 kB / 410.6 MB, free: 5.711 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.3848, allocations: 1.806 MB / 412.4 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3848, allocations: 0 / 412.4 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3859, allocations: 440.4 kB / 412.9 MB, free: 3.934 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.3859, allocations: 84.25 kB / 413 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.3859, allocations: 3.203 kB / 413 MB, free: 3.836 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3861, allocations: 5.031 kB / 413 MB, free: 3.832 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.835e-05/0.3861, allocations: 17.17 kB / 413 MB, free: 3.828 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.3861, allocations: 7.969 kB / 413 MB, free: 3.824 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.746e-05/0.3862, allocations: 88.38 kB / 413.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3862, allocations: 0 / 413.1 MB, free: 3.746 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004175/0.3866, allocations: 39.59 kB / 413.1 MB, free: 3.734 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,62.5%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001283/0.3879, allocations: 0.9628 MB / 414.1 MB, free: 2.965 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0007883/0.3887, allocations: 317.2 kB / 414.4 MB, free: 2.785 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.3887, allocations: 0 / 414.4 MB, free: 2.785 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005153/0.3892, allocations: 261.4 kB / 414.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3895, allocations: 8.062 kB / 414.7 MB, free: 2.617 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.3912, allocations: 0.8633 MB / 415.5 MB, free: 2.051 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.3914, allocations: 0.7029 MB / 416.2 MB, free: 1.355 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.376e-05/0.3915, allocations: 9.812 kB / 416.2 MB, free: 1.352 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.993e-05/0.3915, allocations: 20.41 kB / 416.2 MB, free: 1.336 MB / 286.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3915, allocations: 0 / 416.2 MB, free: 1.336 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01729/0.4088, allocations: 2.827 MB / 419.1 MB, free: 1.129 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.4091, allocations: 275.9 kB / 419.3 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.449, allocations: 0 / 419.3 MB, free: 0.7656 MB / 286.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial.pipe 2>&1)