Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 113.6 kB / 16.41 MB, free: 6.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 190.8 kB / 19.35 MB, free: 3.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 222.9 MB / 245 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTestOverdetermined 4.0.0+maint.om/package.mo): time 0.003062/0.003062, allocations: 0.5591 MB / 297.8 MB, free: 12.09 MB / 238.1 MB " [Timeout remaining time 180] 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.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") translateModel(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 67.89 kB / 411.1 MB, free: 31.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1095, allocations: 49.58 MB / 460.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature): time 0.5131/0.6226, allocations: 179.3 MB / 0.6251 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006414/0.6291, allocations: 3.178 MB / 0.6282 GB, free: 11.05 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008562/0.63, allocations: 19.88 kB / 0.6282 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001245/0.6312, allocations: 401.4 kB / 0.6286 GB, free: 10.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.636, allocations: 1.596 MB / 0.6301 GB, free: 9.047 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003039/0.639, allocations: 1.103 MB / 0.6312 GB, free: 7.953 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00337/0.6424, allocations: 2.396 MB / 0.6335 GB, free: 5.551 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.6436, allocations: 0.5957 MB / 0.6341 GB, free: 4.945 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002354/0.646, allocations: 0.9967 MB / 0.6351 GB, free: 3.945 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.6474, allocations: 0.7239 MB / 0.6358 GB, free: 3.219 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.6476, allocations: 76 kB / 0.6359 GB, free: 3.145 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.6503, allocations: 1.026 MB / 0.6369 GB, free: 2.117 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000404/0.6507, allocations: 323.1 kB / 0.6372 GB, free: 1.801 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007144/0.6514, allocations: 489.8 kB / 0.6377 GB, free: 1.32 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003298/0.6548, allocations: 1.744 MB / 0.6394 GB, free: 15.57 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.6548, allocations: 4 kB / 0.6394 GB, free: 15.57 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.6548, allocations: 0 / 0.6394 GB, free: 15.57 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.6548, allocations: 0 / 0.6394 GB, free: 15.57 MB / 478.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.002838/0.6577, allocations: 1.324 MB / 0.6407 GB, free: 14.19 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.6577, allocations: 11.89 kB / 0.6407 GB, free: 14.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.6588, allocations: 175.3 kB / 0.6408 GB, free: 14 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.6599, allocations: 0.5941 MB / 0.6414 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/0.6601, allocations: 184.7 kB / 0.6416 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.6602, allocations: 70.02 kB / 0.6417 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001766/0.662, allocations: 1.091 MB / 0.6427 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.797e-05/0.662, allocations: 4 kB / 0.6427 GB, free: 11.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.6621, allocations: 36 kB / 0.6428 GB, free: 11.87 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.586e-05/0.6622, allocations: 41.23 kB / 0.6428 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001407/0.6636, allocations: 0.7855 MB / 0.6436 GB, free: 11.04 MB / 478.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.006974/0.6706, allocations: 5.695 MB / 0.6491 GB, free: 4.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007601/0.6714, allocations: 412.3 kB / 0.6495 GB, free: 4.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.6718, allocations: 224.5 kB / 0.6497 GB, free: 4.328 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/0.6721, allocations: 259.3 kB / 0.65 GB, free: 4.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.6721, allocations: 42.55 kB / 0.65 GB, free: 3.969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 2.685e-06/0.6721, allocations: 7.938 kB / 0.65 GB, free: 3.961 MB / 478.1 MB Notification: Performance of matching and sorting (n=55): time 0.007258/0.6794, allocations: 2.263 MB / 0.6522 GB, free: 1.633 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.6795, allocations: 115.4 kB / 0.6524 GB, free: 1.496 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.6804, allocations: 0.676 MB / 0.653 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.879e-05/0.6805, allocations: 37.7 kB / 0.653 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/0.6809, allocations: 471.5 kB / 0.6535 GB, free: 312 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.6811, allocations: 214.2 kB / 0.6537 GB, free: 96 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.6814, allocations: 234.8 kB / 0.6539 GB, free: 15.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.6816, allocations: 382.8 kB / 0.6543 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005029/0.6821, allocations: 282.5 kB / 0.6546 GB, free: 15.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009226/0.6831, allocations: 0.7669 MB / 0.6553 GB, free: 14.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01541/0.6985, allocations: 3.106 MB / 0.6583 GB, free: 10.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.6985, allocations: 4 kB / 0.6583 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002299/0.7008, allocations: 1.283 MB / 0.6596 GB, free: 9.547 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.7009, allocations: 12 kB / 0.6596 GB, free: 9.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.7009, allocations: 16 kB / 0.6596 GB, free: 9.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001883/0.7028, allocations: 464.7 kB / 0.6601 GB, free: 9.062 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005237/0.7033, allocations: 187.7 kB / 0.6602 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00155/0.7049, allocations: 1.117 MB / 0.6613 GB, free: 7.738 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000672/0.7056, allocations: 36 kB / 0.6614 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.7057, allocations: 96.03 kB / 0.6615 GB, free: 7.609 MB / 494.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.V2.medium.p = 0.0. 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 (101): * Single equations (assignments): 100 * 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 {(3,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0005016/0.7063, allocations: 305.2 kB / 0.6618 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/0.7064, allocations: 87.47 kB / 0.6618 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.7088, allocations: 1.201 MB / 0.663 GB, free: 6.004 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.7088, allocations: 4 kB / 0.663 GB, free: 6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.7088, allocations: 7.938 kB / 0.663 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.7088, allocations: 3.984 kB / 0.663 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.712, allocations: 1.978 MB / 0.665 GB, free: 3.863 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.712, allocations: 3.984 kB / 0.665 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.7123, allocations: 87.91 kB / 0.665 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.7138, allocations: 295.1 kB / 0.6653 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-05/0.7139, allocations: 27.98 kB / 0.6654 GB, free: 3.457 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00102/0.7149, allocations: 0.8449 MB / 0.6662 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7149, allocations: 4 kB / 0.6662 GB, free: 2.582 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.717, allocations: 1.143 MB / 0.6673 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000351/0.7173, allocations: 216.6 kB / 0.6675 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.7175, allocations: 15.94 kB / 0.6675 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.7179, allocations: 23.98 kB / 0.6675 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.718, allocations: 56.5 kB / 0.6676 GB, free: 1.078 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.7181, allocations: 60.17 kB / 0.6677 GB, free: 1.02 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0006178/0.7187, allocations: 475 kB / 0.6681 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7187, allocations: 0 / 0.6681 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001176/0.7199, allocations: 351.6 kB / 0.6684 GB, free: 224 kB / 494.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 (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 {(3,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001004/0.7209, allocations: 392.8 kB / 0.6688 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001601/0.7225, allocations: 0.7854 MB / 0.6696 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/0.7226, allocations: 7.859 kB / 0.6696 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000801/0.7234, allocations: 342.9 kB / 0.6699 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.7253, allocations: 412.4 kB / 0.6703 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002739/0.728, allocations: 1.621 MB / 0.6719 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006708/0.7287, allocations: 0.9947 MB / 0.6729 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001185/0.7299, allocations: 0.558 MB / 0.6734 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.7302, allocations: 127.4 kB / 0.6735 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of SimCode: time 9.82e-07/0.7303, allocations: 0 / 0.6735 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of Templates: time 0.03881/0.7691, allocations: 21.84 MB / 0.6949 GB, free: 5.352 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.makefile [Timeout 660] (rm -f ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; mkfifo ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe ; head -c 1048576 < ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe >> ../files/ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.sim & ./ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTestOverdetermined_ModelicaTestOverdetermined.ConsistentInitialization.Fluid.TwoVolumesFullSteadyStatePressureAndTemperature.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.020750252529979]