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+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.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.005714/0.005714, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001256/0.001256, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.003128/0.003128, allocations: 0.562 MB / 291.1 MB, free: 1.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1981/0.1981, allocations: 60.41 kB / 401.9 MB, free: 9.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.3357, allocations: 49.6 MB / 451.5 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullInitial): time 0.002223/0.338, allocations: 0.5808 MB / 452.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002549/0.3383, allocations: 46.95 kB / 452.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.302e-05/0.3384, allocations: 3.938 kB / 452.2 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.3384, allocations: 0 / 452.2 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001022/0.3385, allocations: 7.938 kB / 452.2 MB, free: 5.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.3387, allocations: 19.91 kB / 452.2 MB, free: 5.23 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3388, allocations: 47.83 kB / 452.2 MB, free: 5.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.872e-05/0.3388, allocations: 4 kB / 452.2 MB, free: 5.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.339, allocations: 19.92 kB / 452.3 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3391, allocations: 31.84 kB / 452.3 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.3391, allocations: 4 kB / 452.3 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.68e-05/0.3391, allocations: 4 kB / 452.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.3391, allocations: 7.984 kB / 452.3 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/0.3392, allocations: 23.86 kB / 452.3 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 9.919e-05/0.3393, allocations: 43.81 kB / 452.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3393, allocations: 0 / 452.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3393, allocations: 0 / 452.4 MB, free: 5.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3393, allocations: 3.938 kB / 452.4 MB, free: 5.043 MB / 318.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.0006955/0.34, allocations: 369.6 kB / 452.7 MB, free: 4.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.206e-05/0.3401, allocations: 8.031 kB / 452.7 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.968e-05/0.3402, allocations: 34.75 kB / 452.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.37e-05/0.3402, allocations: 12.84 kB / 452.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.3405, allocations: 180.2 kB / 453 MB, free: 4.355 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.3405, allocations: 4.375 kB / 453 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.3405, allocations: 12.28 kB / 453 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3407, allocations: 70.23 kB / 453 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.3407, allocations: 3.938 kB / 453.1 MB, free: 4.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.3407, allocations: 4 kB / 453.1 MB, free: 4.258 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.3408, allocations: 4 kB / 453.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3409, allocations: 39.97 kB / 453.1 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.3414, allocations: 312.8 kB / 453.4 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.3418, allocations: 118.7 kB / 453.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.734e-05/0.3418, allocations: 40.78 kB / 453.6 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.3419, allocations: 4 kB / 453.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.3419, allocations: 38.56 kB / 453.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.553e-06/0.3419, allocations: 0 / 453.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.003858/0.3458, allocations: 0.9219 MB / 454.5 MB, free: 2.664 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3458, allocations: 51.41 kB / 454.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.054e-05/0.3459, allocations: 113.8 kB / 454.7 MB, free: 2.48 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.346, allocations: 29.7 kB / 454.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.863e-05/0.3461, allocations: 96.3 kB / 454.8 MB, free: 2.344 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.113e-05/0.3461, allocations: 59.16 kB / 454.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/0.3462, allocations: 37.72 kB / 454.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.3464, allocations: 322.8 kB / 455.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.3464, allocations: 35.98 kB / 455.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.461e-05/0.3466, allocations: 66.62 kB / 455.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002864/0.3494, allocations: 0.5683 MB / 455.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3494, allocations: 0 / 455.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001223/0.3507, allocations: 278.1 kB / 456.2 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.3507, allocations: 11.98 kB / 456.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.3507, allocations: 0 / 456.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009872/0.3517, allocations: 152.7 kB / 456.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.3518, allocations: 19.98 kB / 456.3 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003555/0.3554, allocations: 1.986 MB / 458.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.478e-05/0.3555, allocations: 3.938 kB / 458.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.3555, allocations: 8.312 kB / 458.3 MB, free: 14.61 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: p1 = 1e5. 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 (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 prepare postOptimizeDAE: time 0.0002094/0.3557, allocations: 117.8 kB / 458.5 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.153e-05/0.3558, allocations: 7.906 kB / 458.5 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.3558, allocations: 20.91 kB / 458.5 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3559, allocations: 12 kB / 458.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3559, allocations: 0 / 458.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.3559, allocations: 4.031 kB / 458.5 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001409/0.3573, allocations: 0.5687 MB / 459.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.3573, allocations: 4 kB / 459.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.3574, allocations: 15.98 kB / 459.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.3593, allocations: 288.5 kB / 459.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3594, allocations: 0 / 459.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/0.3623, allocations: 1.99 MB / 461.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3624, allocations: 0 / 461.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001149/0.3635, allocations: 430.1 kB / 461.8 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.3637, allocations: 81.02 kB / 461.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.3637, allocations: 11.94 kB / 461.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.3638, allocations: 4.031 kB / 461.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/0.3639, allocations: 19.92 kB / 461.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3639, allocations: 4 kB / 461.9 MB, free: 10.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.005e-05/0.364, allocations: 91.25 kB / 462 MB, free: 10.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.613e-06/0.364, allocations: 0 / 462 MB, free: 10.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003839/0.3644, allocations: 39.94 kB / 462 MB, free: 10.69 MB / 334.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.001522/0.3659, allocations: 0.9659 MB / 463 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008929/0.3668, allocations: 314.7 kB / 463.3 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3668, allocations: 0 / 463.3 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000622/0.3675, allocations: 258.6 kB / 463.5 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.3677, allocations: 17.48 kB / 463.6 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003684/0.3714, allocations: 1.962 MB / 465.5 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.3719, allocations: 0.7045 MB / 466.2 MB, free: 6.305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.168e-05/0.3719, allocations: 4.891 kB / 466.2 MB, free: 6.297 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.372, allocations: 23.42 kB / 466.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of SimCode: time 1.894e-06/0.372, allocations: 0 / 466.3 MB, free: 6.273 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.4029, allocations: 3.118 MB / 469.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.304/9.707, allocations: 8.594 kB / 469.4 MB, free: 3.383 MB / 334.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/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)