Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.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.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008555/0.0008556, allocations: 99.55 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.0008658/0.0008657, allocations: 177.3 kB / 15.94 MB, free: 228 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.224/1.224, allocations: 223.2 MB / 239.9 MB, free: 5.305 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.002172/0.002172, allocations: 0.5625 MB / 291.5 MB, free: 1.562 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.000266, allocations: 11.98 kB / 352.6 MB, free: 2.863 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0838/0.08408, allocations: 50.58 MB / 403.2 MB, free: 248 kB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial): time 0.2917/0.3759, allocations: 145.1 MB / 0.5354 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006011/0.3819, allocations: 4.743 MB / 0.5401 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.3824, allocations: 27.75 kB / 0.5401 GB, free: 1.832 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007593/0.3831, allocations: 346.3 kB / 0.5404 GB, free: 1.492 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00225/0.3854, allocations: 1.094 MB / 0.5415 GB, free: 412 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002206/0.3876, allocations: 0.9877 MB / 0.5424 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001753/0.3894, allocations: 1.377 MB / 0.5438 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006682/0.39, allocations: 0.5013 MB / 0.5443 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.3912, allocations: 0.783 MB / 0.545 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005355/0.3918, allocations: 0.4944 MB / 0.5455 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.674e-05/0.3919, allocations: 40 kB / 0.5456 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.3932, allocations: 0.7101 MB / 0.5463 GB, free: 11.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.3935, allocations: 279.2 kB / 0.5465 GB, free: 11.23 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.3937, allocations: 197.3 kB / 0.5467 GB, free: 11.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.3947, allocations: 1.132 MB / 0.5478 GB, free: 9.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.3948, allocations: 0 / 0.5478 GB, free: 9.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3948, allocations: 4 kB / 0.5478 GB, free: 9.891 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.025e-06/0.3948, allocations: 0 / 0.5478 GB, free: 9.891 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001866/0.3966, allocations: 1.099 MB / 0.5489 GB, free: 8.742 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.96e-05/0.3967, allocations: 12.03 kB / 0.5489 GB, free: 8.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/0.3976, allocations: 166.9 kB / 0.5491 GB, free: 8.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007757/0.3984, allocations: 0.5356 MB / 0.5496 GB, free: 7.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.3986, allocations: 184.8 kB / 0.5498 GB, free: 7.785 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3987, allocations: 75.94 kB / 0.5498 GB, free: 7.711 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.4, allocations: 1.074 MB / 0.5509 GB, free: 6.535 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.4001, allocations: 4 kB / 0.5509 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.623e-05/0.4002, allocations: 28 kB / 0.5509 GB, free: 6.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.151e-05/0.4002, allocations: 41.23 kB / 0.551 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.4013, allocations: 0.7777 MB / 0.5517 GB, free: 5.688 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1508/0.5521, allocations: 5.702 MB / 0.5573 GB, free: 146 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.5528, allocations: 394.2 kB / 0.5577 GB, free: 146 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001835/0.553, allocations: 264 kB / 0.5579 GB, free: 145.7 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.553, allocations: 39.44 kB / 0.558 GB, free: 145.7 MB / 430.1 MB Notification: Performance of pre-optimization done (n=44): time 1.823e-06/0.553, allocations: 1.5 kB / 0.558 GB, free: 145.7 MB / 430.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: V1.medium.T 2: V2.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=55): time 0.009109/0.5621, allocations: 3.017 MB / 0.5609 GB, free: 145.1 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.5622, allocations: 110.2 kB / 0.561 GB, free: 144.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007002/0.5629, allocations: 0.67 MB / 0.5617 GB, free: 144.8 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.738e-05/0.5629, allocations: 38.7 kB / 0.5617 GB, free: 144.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.5632, allocations: 466.9 kB / 0.5621 GB, free: 144.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.5633, allocations: 198.9 kB / 0.5623 GB, free: 144.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.467e-05/0.5634, allocations: 24.41 kB / 0.5624 GB, free: 144.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.5635, allocations: 390.9 kB / 0.5627 GB, free: 143.9 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004189/0.5639, allocations: 280.6 kB / 0.563 GB, free: 143.9 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006149/0.5645, allocations: 0.7594 MB / 0.5637 GB, free: 143.1 MB / 430.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: V1.medium.p = V1.p_start (V2.p_start = V1.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/0.5784, allocations: 2.739 MB / 0.5664 GB, free: 142.8 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-06/0.5784, allocations: 4.219 kB / 0.5664 GB, free: 142.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002167/0.5806, allocations: 1.275 MB / 0.5677 GB, free: 142.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.5806, allocations: 14.34 kB / 0.5677 GB, free: 142.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.5807, allocations: 21.38 kB / 0.5677 GB, free: 142.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009026/0.5816, allocations: 282.5 kB / 0.568 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.5821, allocations: 211.6 kB / 0.5682 GB, free: 142.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007912/0.5829, allocations: 0.9305 MB / 0.5691 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006749/0.5836, allocations: 62.31 kB / 0.5691 GB, free: 141.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.5838, allocations: 96.05 kB / 0.5692 GB, free: 141.5 MB / 430.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: V1.medium.p = V1.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 8 (V1.regularFlow[1],V1.regularFlow[2],V2.regularFlow[1],V2.regularFlow[2],V2.inFlow[2],V2.inFlow[1],V1.inFlow[2],V1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 112 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003657/0.5841, allocations: 295 kB / 0.5695 GB, free: 141.3 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.5842, allocations: 84.28 kB / 0.5696 GB, free: 141.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.5865, allocations: 1.196 MB / 0.5708 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.5865, allocations: 6.969 kB / 0.5708 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5865, allocations: 0 / 0.5708 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.5865, allocations: 3.969 kB / 0.5708 GB, free: 140.8 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00281/0.5894, allocations: 1.974 MB / 0.5727 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5894, allocations: 2.312 kB / 0.5727 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.5897, allocations: 92.27 kB / 0.5728 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.5911, allocations: 300 kB / 0.5731 GB, free: 139.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.583e-05/0.5912, allocations: 28.41 kB / 0.5731 GB, free: 139.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007915/0.592, allocations: 0.8576 MB / 0.5739 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.592, allocations: 2.938 kB / 0.5739 GB, free: 138.9 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/0.5937, allocations: 1.186 MB / 0.5751 GB, free: 138.3 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.594, allocations: 209.4 kB / 0.5753 GB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.5941, allocations: 13.22 kB / 0.5753 GB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.5946, allocations: 50.5 kB / 0.5754 GB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.096e-05/0.5947, allocations: 47.58 kB / 0.5754 GB, free: 138.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.369e-05/0.5948, allocations: 64.86 kB / 0.5755 GB, free: 138.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004614/0.5952, allocations: 458.4 kB / 0.5759 GB, free: 137.9 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5952, allocations: 4.875 kB / 0.5759 GB, free: 137.9 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001108/0.5964, allocations: 349 kB / 0.5762 GB, free: 137.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (V1.medium.T,V2.medium.p,V2.medium.T) * 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 (44): * Single equations (assignments): 43 * 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 {4 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007675/0.5971, allocations: 380.3 kB / 0.5766 GB, free: 137.7 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.5984, allocations: 0.7698 MB / 0.5774 GB, free: 137.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5984, allocations: 5.312 kB / 0.5774 GB, free: 137.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000655/0.599, allocations: 342.3 kB / 0.5777 GB, free: 137.4 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.6005, allocations: 359.2 kB / 0.578 GB, free: 137.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.6026, allocations: 1.932 MB / 0.5799 GB, free: 136 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.6029, allocations: 1.004 MB / 0.5809 GB, free: 135.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001219/0.6042, allocations: 0.5739 MB / 0.5815 GB, free: 134.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/0.6045, allocations: 134.1 kB / 0.5816 GB, free: 134.8 MB / 430.1 MB Notification: Performance of SimCode: time 2.71e-07/0.6045, allocations: 0 / 0.5816 GB, free: 134.8 MB / 430.1 MB Notification: Performance of Templates: time 0.02101/0.6255, allocations: 19.24 MB / 0.6004 GB, free: 117.6 MB / 430.1 MB make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.makefile Environment - environmentSimulation: (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullInitial.pipe 2>&1) Environment - environmentSimulation: