Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.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.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 110 kB / 16.41 MB, free: 6.465 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.001201/0.001201, allocations: 192.3 kB / 17.35 MB, free: 5.715 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.282/1.282, allocations: 222.9 MB / 241 MB, free: 15.1 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.003138/0.003138, allocations: 0.5769 MB / 291.8 MB, free: 14.16 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 64.09 kB / 403.1 MB, free: 32.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09739/0.09858, allocations: 49.58 MB / 452.7 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy): time 0.001675/0.1003, allocations: 0.5781 MB / 453.3 MB, free: 13.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002105/0.1005, allocations: 43.88 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.1006, allocations: 0 / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.1006, allocations: 3.938 kB / 453.3 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.97e-05/0.1007, allocations: 11.91 kB / 453.3 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.1008, allocations: 19.92 kB / 453.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.669e-05/0.1009, allocations: 47.83 kB / 453.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.101, allocations: 4.344 kB / 453.4 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.4e-05/0.101, allocations: 27.91 kB / 453.4 MB, free: 13.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.213e-05/0.1011, allocations: 23.91 kB / 453.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.1011, allocations: 4 kB / 453.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.1011, allocations: 4 kB / 453.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.445e-05/0.1012, allocations: 15.92 kB / 453.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.1012, allocations: 27.86 kB / 453.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 7.665e-05/0.1013, allocations: 31.81 kB / 453.5 MB, free: 13.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1013, allocations: 4 kB / 453.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1013, allocations: 0 / 453.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.1013, allocations: 3.938 kB / 453.5 MB, free: 13.66 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.0005363/0.1019, allocations: 379.3 kB / 453.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1019, allocations: 11.89 kB / 453.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.1019, allocations: 8.844 kB / 453.9 MB, free: 13.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.1021, allocations: 168.3 kB / 454.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1021, allocations: 8.375 kB / 454.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.1022, allocations: 12.28 kB / 454.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.1023, allocations: 70.23 kB / 454.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.1023, allocations: 192 / 454.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.1023, allocations: 3.938 kB / 454.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1024, allocations: 4 kB / 454.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.422e-05/0.1024, allocations: 39.97 kB / 454.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004835/0.1029, allocations: 304.8 kB / 454.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.1032, allocations: 114.4 kB / 454.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.1033, allocations: 40.84 kB / 454.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1033, allocations: 224 / 454.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.629e-05/0.1033, allocations: 42.48 kB / 454.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 8.92e-07/0.1033, allocations: 0 / 454.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.003103/0.1064, allocations: 0.8576 MB / 455.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.1065, allocations: 51.41 kB / 455.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.166e-05/0.1066, allocations: 109.8 kB / 455.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1066, allocations: 29.7 kB / 455.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.02e-05/0.1066, allocations: 88.08 kB / 455.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.1067, allocations: 55.27 kB / 455.9 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.621e-05/0.1067, allocations: 41.64 kB / 456 MB, free: 10.99 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.1069, allocations: 322.8 kB / 456.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.1069, allocations: 39.98 kB / 456.3 MB, free: 10.63 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.92e-05/0.107, allocations: 57.69 kB / 456.4 MB, free: 10.57 MB / 334.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.1094, allocations: 486.2 kB / 456.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1094, allocations: 0 / 456.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001401/0.1108, allocations: 325.2 kB / 457.2 MB, free: 9.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1109, allocations: 4 kB / 457.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1109, allocations: 8.031 kB / 457.2 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.1126, allocations: 256.6 kB / 457.4 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.901e-05/0.1127, allocations: 19.94 kB / 457.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.1158, allocations: 1.945 MB / 459.4 MB, free: 7.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.1159, allocations: 8.062 kB / 459.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1159, allocations: 4 kB / 459.4 MB, free: 7.379 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: $DER.E1 = 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 (10): * Single equations (assignments): 9 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(5,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0002043/0.1161, allocations: 122.4 kB / 459.5 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.575e-05/0.1161, allocations: 11.84 kB / 459.5 MB, free: 7.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.291e-05/0.1162, allocations: 20.48 kB / 459.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1162, allocations: 0 / 459.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1162, allocations: 0 / 459.5 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.915e-05/0.1162, allocations: 85.14 kB / 459.6 MB, free: 7.117 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.1163, allocations: 8 kB / 459.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1164, allocations: 0 / 459.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.1164, allocations: 19.97 kB / 459.7 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007843/0.1172, allocations: 289.5 kB / 459.9 MB, free: 6.797 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003271/0.1176, allocations: 370.2 kB / 460.3 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.144e-05/0.1176, allocations: 35.98 kB / 460.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.235e-05/0.1177, allocations: 83.73 kB / 460.4 MB, free: 6.305 MB / 334.1 MB Notification: Performance of Backend: time 6.91e-07/0.1177, allocations: 3.938 kB / 460.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000955/0.1187, allocations: 363 kB / 460.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of SimCode: time 0.0005172/0.1192, allocations: 0.7029 MB / 461.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of Templates: time 0.004682/0.1239, allocations: 2.14 MB / 463.6 MB, free: 3.09 MB / 334.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.makefile (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesEquationsFullSteadyStateMassAndEnergy.pipe 2>&1)