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: translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004776/0.004776, allocations: 101.6 kB / 15.73 MB, free: 6.059 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.001115/0.001115, allocations: 190.6 kB / 16.67 MB, free: 5.969 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.002593/0.002593, allocations: 0.5661 MB / 291.1 MB, free: 14.14 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001137, allocations: 63.91 kB / 402.4 MB, free: 32.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06886/0.07001, allocations: 49.58 MB / 452 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial): time 0.001404/0.07144, allocations: 0.589 MB / 452.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001889/0.07165, allocations: 59.73 kB / 452.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.0717, allocations: 0 / 452.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.245e-05/0.07172, allocations: 0 / 452.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.07179, allocations: 3.938 kB / 452.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.814e-05/0.07189, allocations: 19.91 kB / 452.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 6.971e-05/0.07196, allocations: 43.84 kB / 452.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.58e-05/0.07201, allocations: 8.328 kB / 452.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.861e-05/0.07205, allocations: 19.92 kB / 452.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.707e-05/0.07212, allocations: 31.89 kB / 452.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.07215, allocations: 4 kB / 452.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.07216, allocations: 11.94 kB / 452.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.07219, allocations: 7.984 kB / 452.8 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.07222, allocations: 19.88 kB / 452.8 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.938e-05/0.0723, allocations: 35.75 kB / 452.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.07231, allocations: 4 kB / 452.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.07232, allocations: 0 / 452.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.343e-06/0.07233, allocations: 0 / 452.9 MB, free: 13.63 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.0004454/0.07278, allocations: 371.3 kB / 453.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.07282, allocations: 15.89 kB / 453.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.82e-05/0.07285, allocations: 4.891 kB / 453.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.07298, allocations: 176.2 kB / 453.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.073, allocations: 8.375 kB / 453.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.07302, allocations: 8.359 kB / 453.4 MB, free: 12.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.07315, allocations: 66.23 kB / 453.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.07316, allocations: 192 / 453.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.07318, allocations: 7.938 kB / 453.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.07319, allocations: 4 kB / 453.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.07327, allocations: 35.98 kB / 453.5 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.07372, allocations: 316.8 kB / 453.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.07398, allocations: 102.5 kB / 454 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.577e-05/0.07404, allocations: 41.06 kB / 454 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.07407, allocations: 3.938 kB / 454 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.07409, allocations: 34.56 kB / 454 MB, free: 12.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.07409, allocations: 0 / 454 MB, free: 12.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003016/0.07711, allocations: 0.846 MB / 454.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.07716, allocations: 59.41 kB / 454.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.07725, allocations: 105.8 kB / 455 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.07727, allocations: 29.7 kB / 455.1 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.07732, allocations: 96.02 kB / 455.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/0.07737, allocations: 55.52 kB / 455.2 MB, free: 11.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.07743, allocations: 41.66 kB / 455.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.07753, allocations: 322.7 kB / 455.6 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.876e-05/0.07761, allocations: 39.98 kB / 455.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.374e-05/0.07771, allocations: 61.69 kB / 455.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.07787, allocations: 112 kB / 455.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.07788, allocations: 0 / 455.8 MB, free: 10.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0008471/0.07873, allocations: 266.1 kB / 456 MB, free: 10.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.07875, allocations: 4 kB / 456 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.07876, allocations: 0 / 456 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008726/0.07964, allocations: 152.7 kB / 456.2 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.07973, allocations: 23.98 kB / 456.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.08191, allocations: 1.932 MB / 458.1 MB, free: 7.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.728e-05/0.08201, allocations: 12 kB / 458.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.08202, allocations: 4 kB / 458.2 MB, free: 7.895 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 8.889e-05/0.08212, allocations: 126.4 kB / 458.3 MB, free: 7.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.08216, allocations: 11.89 kB / 458.3 MB, free: 7.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.0822, allocations: 20.53 kB / 458.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.08221, allocations: 0 / 458.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.08222, allocations: 4 kB / 458.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.08223, allocations: 0 / 458.3 MB, free: 7.723 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000201/0.08244, allocations: 201.6 kB / 458.5 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.08245, allocations: 3.984 kB / 458.5 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.177e-05/0.0825, allocations: 8 kB / 458.5 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001784/0.08429, allocations: 284.4 kB / 458.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.08432, allocations: 0 / 458.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002092/0.08641, allocations: 1.936 MB / 460.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.08643, allocations: 0 / 460.7 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009808/0.08742, allocations: 412 kB / 461.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.08746, allocations: 85.06 kB / 461.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.08749, allocations: 15.97 kB / 461.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.0876, allocations: 0 / 461.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.08764, allocations: 11.98 kB / 461.3 MB, free: 4.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-06/0.08765, allocations: 4 kB / 461.3 MB, free: 4.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.905e-05/0.08771, allocations: 91.27 kB / 461.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08771, allocations: 0 / 461.4 MB, free: 4.469 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003404/0.08806, allocations: 32 kB / 461.4 MB, free: 4.438 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 8.422e-05/0.08815, allocations: 95.25 kB / 461.5 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004651/0.08862, allocations: 277.1 kB / 461.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.08864, allocations: 0 / 461.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003026/0.08895, allocations: 234.5 kB / 462 MB, free: 3.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.08918, allocations: 8 kB / 462 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004121/0.0896, allocations: 250 kB / 462.2 MB, free: 3.539 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.08989, allocations: 0.7006 MB / 462.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.118e-05/0.08994, allocations: 8.562 kB / 462.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.08997, allocations: 11.44 kB / 462.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.08997, allocations: 0 / 462.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of Templates: time 0.004025/0.094, allocations: 1.758 MB / 464.7 MB, free: 1.074 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.makefile (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 & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsReducedInitial.pipe 2>&1)