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.0009975/0.0009975, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006862/0.006862, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.67/1.67, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.003855/0.003855, allocations: 0.5508 MB / 292 MB, free: 1.59 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004078/0.0004074, allocations: 4.281 kB / 353.4 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3945, allocations: 50.57 MB / 404 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.0009125/0.3954, allocations: 303.2 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002382/0.3957, allocations: 47.38 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.59e-05/0.3957, allocations: 1.562 kB / 404.3 MB, free: 10.05 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.3958, allocations: 4.5 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.664e-05/0.3959, allocations: 7.469 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001054/0.396, allocations: 9.562 kB / 404.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.3961, allocations: 47.55 kB / 404.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.251e-05/0.3961, allocations: 4.031 kB / 404.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.3962, allocations: 23.47 kB / 404.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.419e-05/0.3963, allocations: 33.55 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.3963, allocations: 3.219 kB / 404.4 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.972e-05/0.3964, allocations: 4.031 kB / 404.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.3964, allocations: 12.17 kB / 404.5 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.764e-05/0.3965, allocations: 48.66 kB / 404.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.3966, allocations: 30.64 kB / 404.5 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3966, allocations: 1.125 kB / 404.5 MB, free: 9.977 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3966, allocations: 0 / 404.5 MB, free: 9.977 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.3966, allocations: 0 / 404.5 MB, free: 9.977 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.0005044/0.3971, allocations: 368.7 kB / 404.9 MB, free: 9.613 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.3972, allocations: 9.969 kB / 404.9 MB, free: 9.613 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.3972, allocations: 37.83 kB / 404.9 MB, free: 9.574 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.3973, allocations: 8.641 kB / 405 MB, free: 9.57 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.3974, allocations: 168.6 kB / 405.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3974, allocations: 6.781 kB / 405.1 MB, free: 9.371 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.047e-05/0.3975, allocations: 21.66 kB / 405.1 MB, free: 9.355 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3976, allocations: 72.05 kB / 405.2 MB, free: 9.32 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3977, allocations: 3.938 kB / 405.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3977, allocations: 0.7969 kB / 405.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.3977, allocations: 1.406 kB / 405.2 MB, free: 9.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.3978, allocations: 43.39 kB / 405.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005657/0.3984, allocations: 303.2 kB / 405.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.3987, allocations: 112.6 kB / 405.7 MB, free: 9.016 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.308e-05/0.3988, allocations: 36.42 kB / 405.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.3988, allocations: 1.5 kB / 405.7 MB, free: 9.008 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.3988, allocations: 35.53 kB / 405.7 MB, free: 8.969 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3988, allocations: 0 / 405.7 MB, free: 8.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.003638/0.4024, allocations: 0.8688 MB / 406.6 MB, free: 8.66 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.4025, allocations: 53.72 kB / 406.7 MB, free: 8.598 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.933e-05/0.4026, allocations: 108.4 kB / 406.8 MB, free: 8.5 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4026, allocations: 32.95 kB / 406.8 MB, free: 8.465 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.4027, allocations: 89.89 kB / 406.9 MB, free: 8.379 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.759e-05/0.4028, allocations: 56.56 kB / 406.9 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.4028, allocations: 21.58 kB / 407 MB, free: 8.328 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.019e-05/0.4029, allocations: 323.3 kB / 407.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.403, allocations: 38.77 kB / 407.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4031, allocations: 63 kB / 407.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.4033, allocations: 114.5 kB / 407.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4033, allocations: 1.062 kB / 407.5 MB, free: 7.969 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001085/0.4044, allocations: 264.9 kB / 407.8 MB, free: 7.914 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.4045, allocations: 4.531 kB / 407.8 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4045, allocations: 1.094 kB / 407.8 MB, free: 7.914 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.4058, allocations: 183.1 kB / 407.9 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-05/0.4059, allocations: 20.36 kB / 408 MB, free: 7.895 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002503/0.4084, allocations: 1.762 MB / 409.7 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.279e-05/0.4085, allocations: 0 / 409.7 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.4085, allocations: 11.55 kB / 409.7 MB, free: 6.512 MB / 286.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.0001043/0.4086, allocations: 110.9 kB / 409.8 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.4087, allocations: 11.66 kB / 409.9 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.4087, allocations: 19.19 kB / 409.9 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-06/0.4087, allocations: 1.094 kB / 409.9 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.4087, allocations: 1.469 kB / 409.9 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.4087, allocations: 10.19 kB / 409.9 MB, free: 6.363 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.4089, allocations: 194.8 kB / 410.1 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.409, allocations: 1.125 kB / 410.1 MB, free: 6.16 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.659e-05/0.409, allocations: 17.44 kB / 410.1 MB, free: 6.152 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002284/0.4113, allocations: 309.1 kB / 410.4 MB, free: 6.109 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.4113, allocations: 6.516 kB / 410.4 MB, free: 6.105 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.4135, allocations: 1.752 MB / 412.2 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4135, allocations: 0 / 412.2 MB, free: 4.586 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001138/0.4146, allocations: 416.3 kB / 412.6 MB, free: 4.359 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.4147, allocations: 82.86 kB / 412.6 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.4147, allocations: 3.922 kB / 412.6 MB, free: 4.262 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4148, allocations: 5.281 kB / 412.6 MB, free: 4.258 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.267e-05/0.4149, allocations: 14.52 kB / 412.7 MB, free: 4.254 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.4149, allocations: 17.06 kB / 412.7 MB, free: 4.242 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.737e-05/0.415, allocations: 82.81 kB / 412.8 MB, free: 4.168 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.415, allocations: 1.406 kB / 412.8 MB, free: 4.168 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003974/0.4154, allocations: 36.59 kB / 412.8 MB, free: 4.156 MB / 286.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.001364/0.4168, allocations: 0.9329 MB / 413.7 MB, free: 3.402 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005885/0.4174, allocations: 276.6 kB / 414 MB, free: 3.234 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.4174, allocations: 1.094 kB / 414 MB, free: 3.234 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003763/0.4178, allocations: 232.3 kB / 414.2 MB, free: 3.074 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002471/0.418, allocations: 9.703 kB / 414.2 MB, free: 3.07 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.4213, allocations: 1.908 MB / 416.1 MB, free: 1.605 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.4215, allocations: 0.7033 MB / 416.8 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.715e-05/0.4215, allocations: 4.594 kB / 416.9 MB, free: 0.9062 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.4216, allocations: 20.86 kB / 416.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4216, allocations: 0 / 416.9 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1534/0.575, allocations: 2.863 MB / 419.7 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.5752, allocations: 300.3 kB / 420 MB, free: 296 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/2.858, allocations: 5.062 kB / 420 MB, free: 292 kB / 286.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTestOverdetermined_ModelicaTestOverdetermined_ConsistentInitialization_Fluid_TwoVolumesEquationsReducedInitial.fmu > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)