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-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.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.001068/0.001068, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001024/0.001024, allocations: 177.3 kB / 15.95 MB, free: 216 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.505/1.505, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0-master/package.mo): time 0.004085/0.004084, allocations: 0.5464 MB / 291.5 MB, free: 1.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 8 kB / 352.7 MB, free: 2.746 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.12, allocations: 50.57 MB / 403.2 MB, free: 136 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature): time 0.2325/0.3525, allocations: 289.4 kB / 403.5 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002105/0.3527, allocations: 51.73 kB / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.929e-05/0.3528, allocations: 0 / 403.6 MB, free: 9.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.299e-05/0.3528, allocations: 4.594 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.08e-05/0.3529, allocations: 3.625 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.217e-05/0.353, allocations: 16.59 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 7.68e-05/0.3531, allocations: 28.06 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.687e-05/0.3531, allocations: 4.438 kB / 403.6 MB, free: 9.84 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.242e-05/0.3532, allocations: 22.7 kB / 403.7 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.222e-05/0.3533, allocations: 33.2 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.3533, allocations: 3.156 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.585e-05/0.3533, allocations: 3.5 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.3533, allocations: 10.91 kB / 403.7 MB, free: 9.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.3534, allocations: 42.55 kB / 403.7 MB, free: 9.785 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.597e-05/0.3535, allocations: 15.55 kB / 403.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.3535, allocations: 0.5 kB / 403.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3535, allocations: 0 / 403.8 MB, free: 9.785 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.3535, allocations: 1 kB / 403.8 MB, free: 9.785 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.0004442/0.3539, allocations: 368.7 kB / 404.1 MB, free: 9.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/0.354, allocations: 14.19 kB / 404.1 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.547e-05/0.354, allocations: 37.7 kB / 404.2 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.3541, allocations: 7.406 kB / 404.2 MB, free: 9.383 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.3542, allocations: 168.3 kB / 404.3 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3542, allocations: 6.219 kB / 404.4 MB, free: 9.184 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.3542, allocations: 12.97 kB / 404.4 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3544, allocations: 67.45 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3544, allocations: 0.6094 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3544, allocations: 4.906 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3544, allocations: 1.156 kB / 404.4 MB, free: 9.145 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3545, allocations: 40.5 kB / 404.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004812/0.355, allocations: 301.1 kB / 404.8 MB, free: 8.875 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.3553, allocations: 122.5 kB / 404.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3554, allocations: 1.312 kB / 404.9 MB, free: 8.844 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.3554, allocations: 39.78 kB / 404.9 MB, free: 8.797 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.3554, allocations: 0.6875 kB / 404.9 MB, free: 8.797 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.002867/0.3583, allocations: 0.7898 MB / 405.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.3583, allocations: 53.08 kB / 405.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.3584, allocations: 115.4 kB / 405.9 MB, free: 8.332 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.557e-05/0.3584, allocations: 29.08 kB / 405.9 MB, free: 8.301 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.052e-05/0.3585, allocations: 96.09 kB / 406 MB, free: 8.207 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/0.3585, allocations: 59.83 kB / 406.1 MB, free: 8.168 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/0.3585, allocations: 4.031 kB / 406.1 MB, free: 8.168 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 6.885e-05/0.3586, allocations: 325.9 kB / 406.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.665e-05/0.3587, allocations: 41.11 kB / 406.4 MB, free: 7.852 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3588, allocations: 67.73 kB / 406.5 MB, free: 7.832 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002867/0.3617, allocations: 484.4 kB / 407 MB, free: 7.727 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3617, allocations: 4 kB / 407 MB, free: 7.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001622/0.3633, allocations: 373.2 kB / 407.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.3634, allocations: 5.062 kB / 407.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3634, allocations: 1.969 kB / 407.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001941/0.3653, allocations: 296.2 kB / 407.6 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.1e-05/0.3654, allocations: 14.3 kB / 407.6 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003863/0.3693, allocations: 2.177 MB / 409.8 MB, free: 6.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.675e-05/0.3694, allocations: 7.562 kB / 409.8 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.3694, allocations: 3.984 kB / 409.8 MB, free: 6.211 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: $DER.p1 = 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 (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: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.3696, allocations: 125.1 kB / 410 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.3696, allocations: 10.66 kB / 410 MB, free: 6.078 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.225e-05/0.3696, allocations: 22.3 kB / 410 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.3697, allocations: 0.6875 kB / 410 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.367e-05/0.3697, allocations: 2.125 kB / 410 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3697, allocations: 0.8438 kB / 410 MB, free: 6.055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.371, allocations: 0.5743 MB / 410.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.371, allocations: 0.7031 kB / 410.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.935e-05/0.3711, allocations: 12.72 kB / 410.6 MB, free: 5.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002234/0.3733, allocations: 317.5 kB / 410.9 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.3734, allocations: 6.531 kB / 410.9 MB, free: 5.605 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.3757, allocations: 1.818 MB / 412.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3758, allocations: 0 / 412.7 MB, free: 4.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.3769, allocations: 447.6 kB / 413.2 MB, free: 3.816 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.738e-05/0.3769, allocations: 92.17 kB / 413.2 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.377, allocations: 2.156 kB / 413.2 MB, free: 3.711 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3771, allocations: 10.47 kB / 413.3 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.3771, allocations: 16.5 kB / 413.3 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.3771, allocations: 4.938 kB / 413.3 MB, free: 3.699 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.891e-05/0.3772, allocations: 87.61 kB / 413.4 MB, free: 3.621 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3772, allocations: 0 / 413.4 MB, free: 3.621 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00042/0.3776, allocations: 40.22 kB / 413.4 MB, free: 3.613 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.001248/0.3789, allocations: 1.04 MB / 414.4 MB, free: 2.758 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006784/0.3796, allocations: 308.1 kB / 414.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3796, allocations: 0 / 414.7 MB, free: 2.578 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005498/0.3801, allocations: 263.3 kB / 415 MB, free: 2.414 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.3803, allocations: 3.828 kB / 415 MB, free: 2.414 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.3827, allocations: 1.1 MB / 416.1 MB, free: 1.684 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.3829, allocations: 0.7094 MB / 416.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.147e-05/0.3829, allocations: 5.609 kB / 416.8 MB, free: 0.9844 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.383, allocations: 25.61 kB / 416.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of SimCode: time 2.8e-07/0.383, allocations: 0 / 416.8 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01693/0.3999, allocations: 3.525 MB / 420.4 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.4002, allocations: 310.2 kB / 420.7 MB, free: 236 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.262, allocations: 3.266 kB / 420.7 MB, free: 236 kB / 286.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsFullSteadyStatePressureAndTemperature.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStatePressureAndTemperature.pipe 2>&1)